Vasil Velichkov | 7f259fd | 2018-05-06 02:13:36 +0300 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <block> |
| 3 | <name>TCH/H decoder</name> |
| 4 | <key>gsm_tch_h_decoder</key> |
| 5 | <import>import grgsm</import> |
Vasil Velichkov | c5bb436 | 2019-03-13 20:53:24 +0200 | [diff] [blame^] | 6 | <make>grgsm.tch_h_decoder($sub_channel, $multi_rate, $boundary_check)</make> |
Vasil Velichkov | 7f259fd | 2018-05-06 02:13:36 +0300 | [diff] [blame] | 7 | |
| 8 | <param> |
Vasil Velichkov | c5bb436 | 2019-03-13 20:53:24 +0200 | [diff] [blame^] | 9 | <name>Sub-channel number</name> |
Vasil Velichkov | 7f259fd | 2018-05-06 02:13:36 +0300 | [diff] [blame] | 10 | <key>sub_channel</key> |
| 11 | <value>0</value> |
| 12 | <type>int</type> |
Vasil Velichkov | c5bb436 | 2019-03-13 20:53:24 +0200 | [diff] [blame^] | 13 | <hide>none</hide> |
Vasil Velichkov | 7f259fd | 2018-05-06 02:13:36 +0300 | [diff] [blame] | 14 | <option> |
Vasil Velichkov | c5bb436 | 2019-03-13 20:53:24 +0200 | [diff] [blame^] | 15 | <name>0</name> |
Vasil Velichkov | 7f259fd | 2018-05-06 02:13:36 +0300 | [diff] [blame] | 16 | <key>0</key> |
| 17 | </option> |
| 18 | <option> |
Vasil Velichkov | c5bb436 | 2019-03-13 20:53:24 +0200 | [diff] [blame^] | 19 | <name>1</name> |
Vasil Velichkov | 7f259fd | 2018-05-06 02:13:36 +0300 | [diff] [blame] | 20 | <key>1</key> |
| 21 | </option> |
| 22 | </param> |
| 23 | <param> |
Vasil Velichkov | c5bb436 | 2019-03-13 20:53:24 +0200 | [diff] [blame^] | 24 | <name>MultiRate configuration</name> |
| 25 | <key>multi_rate</key> |
| 26 | <type>string</type> |
Vasil Velichkov | 7f259fd | 2018-05-06 02:13:36 +0300 | [diff] [blame] | 27 | </param> |
| 28 | <param> |
| 29 | <name>Voice boundary detection</name> |
| 30 | <key>boundary_check</key> |
| 31 | <value>False</value> |
| 32 | <type>bool</type> |
| 33 | <option> |
| 34 | <name>False</name> |
| 35 | <key>False</key> |
| 36 | </option> |
| 37 | <option> |
| 38 | <name>True</name> |
| 39 | <key>True</key> |
| 40 | </option> |
| 41 | </param> |
| 42 | <check>$sub_channel() > -1 and $sub_channel() < 2</check> |
| 43 | <sink> |
| 44 | <name>bursts</name> |
| 45 | <type>message</type> |
| 46 | </sink> |
| 47 | <source> |
| 48 | <name>msgs</name> |
| 49 | <type>message</type> |
| 50 | <optional>1</optional> |
| 51 | </source> |
| 52 | <source> |
| 53 | <name>voice</name> |
| 54 | <type>message</type> |
| 55 | <optional>1</optional> |
| 56 | </source> |
| 57 | |
| 58 | <doc> |
Vasil Velichkov | c5bb436 | 2019-03-13 20:53:24 +0200 | [diff] [blame^] | 59 | The MultiRate configuration string should contains the hex string from the |
| 60 | MultiRate configuration element from the Assignment Command message. |
| 61 | Example: 28111a40. |
| 62 | See 3GPP TS 44.018 - 10.5.2.21aa MultiRate configuratio |
| 63 | |
Vasil Velichkov | 7f259fd | 2018-05-06 02:13:36 +0300 | [diff] [blame] | 64 | If "Voice boundary detection" is enabled, then only bursts are decoded as voice where |
| 65 | |
| 66 | - the framenumber is greater then the framenumber of a received "Connect" or "Connect Acknowlegde" message, and |
| 67 | - the framenumber is less then the framenumber of a "Release" message |
| 68 | </doc> |
| 69 | |
| 70 | </block> |