File: vocoder_freedv_tx_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 (95 lines) | stat: -rw-r--r-- 2,320 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
90
91
92
93
94
95
<?xml version="1.0"?>
<!--
###################################################
## FreeDV audio modem modulator
###################################################
 -->
<block>
  <name>FreeDV modulator</name>
  <key>vocoder_freedv_tx_ss</key>
  <import>from gnuradio import vocoder</import>
  <import>from gnuradio.vocoder import freedv_api</import>
  <make>vocoder.freedv_tx_ss($mode,$txt_msg,$interleave_frames)</make>
  <callback>set_clip($clip_val)</callback>
  <callback>set_tx_bpf($tx_bpf_val)</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>Text Message</name>
    <key>txt_msg</key>
    <value>'GNU Radio'</value>
    <type>string</type>
  </param>
  <param>
    <name>Interleave Frames</name>
    <key>interleave_frames</key>
    <value>1</value>
    <type>int</type>
  </param>
  <param>
    <name>Clip</name>
    <key>clip_val</key>
    <value>False</value>
    <type>bool</type>
  </param>
  <param>
    <name>Tx BPF</name>
    <key>tx_bpf_val</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)

Clip reduces the Peak/Average Power Ratio from 12dB to 8dB by clipping.

Tx BPF: enable a bandpass filter
  </doc>
</block>