File: vocoder_codec2_decode_ps.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 (68 lines) | stat: -rw-r--r-- 1,507 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
<?xml version="1.0"?>
<!--
###################################################
## CODEC2 audio decoder
###################################################
 -->
<block>
	<name>CODEC2 Audio Decoder</name>
	<key>vocoder_codec2_decode_ps</key>
	<import>from gnuradio import vocoder</import>
	<import>from gnuradio.vocoder import codec2</import>
	<make>vocoder.codec2_decode_ps($mode)</make>
	<param>
		<name>Bit rate</name>
		<key>mode</key>
		<value>codec2.MODE_2400</value>
		<type>int</type>
		<option>
			<name>3200 bps</name>
			<key>codec2.MODE_3200</key>
		</option>
		<option>
			<name>2400 bps</name>
			<key>codec2.MODE_2400</key>
		</option>
		<option>
			<name>1600 bps</name>
			<key>codec2.MODE_1600</key>
		</option>
		<option>
			<name>1400 bps</name>
			<key>codec2.MODE_1400</key>
		</option>
		<option>
			<name>1300 bps</name>
			<key>codec2.MODE_1300</key>
		</option>
		<option>
			<name>1200 bps</name>
			<key>codec2.MODE_1200</key>
		</option>
		<option>
			<name>700 bps</name>
			<key>codec2.MODE_700</key>
		</option>
		<option>
			<name>700B bps</name>
			<key>codec2.MODE_700B</key>
		</option>
		<option>
			<name>700C bps</name>
			<key>codec2.MODE_700C</key>
		</option>
		<option>
			<name>Wideband</name>
			<key>codec2.MODE_WB</key>
		</option>
	</param>
	<sink>
		<name>in</name>
		<type>byte</type>
		<vlen>{ 0: 64, 1: 48, 2: 64, 3: 56, 4: 52, 5: 48, 6: 28, 7: 28, 8: 28, 9: 64 }[$mode]</vlen>
	</sink>
	<source>
		<name>out</name>
		<type>short</type>
	</source>
</block>