File: vocoder_freedv_rx_ss.xml

package info (click to toggle)
gnuradio 3.7.13.4-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 45,992 kB
  • sloc: cpp: 155,723; python: 88,934; xml: 42,165; ansic: 41,036; fortran: 927; asm: 803; sh: 224; lisp: 31; makefile: 17
file content (89 lines) | stat: -rw-r--r-- 2,230 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?xml version="1.0"?>
<!--
###################################################
## FreeDV audio modem demodulator
###################################################
 -->
<block>
  <name>FreeDV demodulator</name>
  <key>vocoder_freedv_rx_ss</key>
  <import>from gnuradio import vocoder</import>
  <import>from gnuradio.vocoder import freedv_api</import>
  <make>vocoder.freedv_rx_ss($mode,$squelch_thresh,$interleave_frames)</make>
  <callback>set_squelch_en($squelch_enable)</callback>
  <callback>set_squelch_thresh($squelch_thresh)</callback>
  <param>
    <name>Operating Mode</name>
    <key>mode</key>
    <value>freedv_api.MODE_1600</value>
    <type>int</type>
    <option>
      <name>1600</name>
      <key>freedv_api.MODE_1600</key>
    </option>
    <option>
      <name>700</name>
      <key>freedv_api.MODE_700</key>
    </option>
    <option>
      <name>700B</name>
      <key>freedv_api.MODE_700B</key>
    </option>
    <option>
      <name>2400A</name>
      <key>freedv_api.MODE_2400A</key>
    </option>
    <option>
      <name>2400B</name>
      <key>freedv_api.MODE_2400B</key>
    </option>
    <option>
      <name>800XA</name>
      <key>freedv_api.MODE_800XA</key>
    </option>
    <option>
      <name>700C</name>
      <key>freedv_api.MODE_700C</key>
    </option>
    <option>
      <name>700D</name>
      <key>freedv_api.MODE_700D</key>
    </option>
  </param>
  <param>
    <name>Interleave Frames</name>
    <key>interleave_frames</key>
    <value>1</value>
    <type>int</type>
  </param>
  <param>
    <name>Squelch Threshold</name>
    <key>squelch_thresh</key>
    <value>-100.0</value>
    <type>float</type>
  </param>
  <param>
    <name>Squelch Enable</name>
    <key>squelch_enable</key>
    <value>True</value>
    <type>bool</type>
  </param>
  <sink>
    <name>in</name>
    <type>short</type>
  </sink>
  <source>
    <name>out</name>
    <type>short</type>
  </source>
  <doc>
Not all modes may be supported by the underlying codec2 library.

interleave_frames is an integer between 1 and 32, and is only used in the 700D mode.
(must be set the same on both transmitter and receiver)

Squelch Enable defaults to On

Squelch Threshold - cutoff level for receiver
  </doc>
</block>