summaryrefslogtreecommitdiff
path: root/grc/data/platforms/python/blocks/blks2_nbfm_tx.xml
blob: 3aa7ede0e2efcb70108eca0bc8df375d79a96490 (plain)
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
<?xml version="1.0"?>
<!--
###################################################
##NBFM Transmit
###################################################
 -->
<block>
	<name>NBFM Transmit</name>
	<key>blks2_nbfm_tx</key>
	<import>from gnuradio import blks2</import>
	<make>blks2.nbfm_tx(
	audio_rate=$audio_rate,
	quad_rate=$quad_rate,
	tau=$tau,
	max_dev=$max_dev,
)</make>
	<param>
		<name>Audio Rate</name>
		<key>audio_rate</key>
		<type>int</type>
	</param>
	<param>
		<name>Quadrature Rate</name>
		<key>quad_rate</key>
		<type>int</type>
	</param>
	<param>
		<name>Tau</name>
		<key>tau</key>
		<value>75e-6</value>
		<type>real</type>
	</param>
	<param>
		<name>Max Deviation</name>
		<key>max_dev</key>
		<value>5e3</value>
		<type>real</type>
	</param>
	<check>$quad_rate%$audio_rate == 0</check>
	<sink>
		<name>in</name>
		<type>float</type>
	</sink>
	<source>
		<name>out</name>
		<type>complex</type>
	</source>
</block>