diff options
author | Roman Khassraf <roman@khassraf.at> | 2015-08-11 11:52:15 +0200 |
---|---|---|
committer | Roman Khassraf <roman@khassraf.at> | 2015-08-11 11:52:15 +0200 |
commit | 23c8d8a92f1c1a19f5c1ce29df91c27f53e51359 (patch) | |
tree | 3daed088ebe364473c9e859dcc038e461adbd51f /grc/decoding | |
parent | b78bd07fd665cb1a97d15d1fdc71f31fdf7d8b36 (diff) |
Implemented boundary check for voice decoding. Issue 107
Diffstat (limited to 'grc/decoding')
-rw-r--r-- | grc/decoding/gsm_tch_f_decoder.xml | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/grc/decoding/gsm_tch_f_decoder.xml b/grc/decoding/gsm_tch_f_decoder.xml index 59ac97d..632162f 100644 --- a/grc/decoding/gsm_tch_f_decoder.xml +++ b/grc/decoding/gsm_tch_f_decoder.xml @@ -3,7 +3,7 @@ <name>TCH/F decoder</name> <key>gsm_tch_f_decoder</key> <import>import grgsm</import> - <make>grgsm.tch_f_decoder($mode, $file)</make> + <make>grgsm.tch_f_decoder($mode, $file, $boundary_check)</make> <param> <name>TCH coding mode</name> @@ -56,7 +56,21 @@ <value>/tmp/speech.gsm</value> <type>file_open</type> </param> - + <param> + <name>Voice boundary detection</name> + <key>boundary_check</key> + <value>True</value> + <type>bool</type> + <option> + <name>False</name> + <key>False</key> + </option> + <option> + <name>True</name> + <key>True</key> + </option> + </param> + <sink> <name>bursts</name> <type>message</type> @@ -66,4 +80,12 @@ <type>message</type> <optional>1</optional> </source> + + <doc> +If "Voice boundary detection" is enabled, then only bursts are decoded as voice where + +- the framenumber is greater then the framenumber of a received "Connect" or "Connect Acknowlegde" message, and +- the framenumber is less then the framenumber of a "Release" message + </doc> + </block> |