summaryrefslogtreecommitdiff
path: root/grc/blocks/blks2_standard_squelch.xml
blob: f0baeb6624aacff722180084900e66cfb53e61bb (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
<?xml version="1.0"?>
<!--
###################################################
##Standard Squelch
###################################################
 -->
<block>
	<name>Standard Squelch</name>
	<key>blks2_standard_squelch</key>
	<import>from gnuradio import blks2</import>
	<make>blks2.standard_squelch(audio_rate=$audio_rate)
self.$(id).set_threshold($threshold)</make>
	<callback>set_threshold($threshold)</callback>
	<param>
		<name>Audio Rate</name>
		<key>audio_rate</key>
		<type>real</type>
	</param>
	<param>
		<name>Threshold</name>
		<key>threshold</key>
		<type>real</type>
	</param>
	<sink>
		<name>in</name>
		<type>float</type>
	</sink>
	<source>
		<name>out</name>
		<type>float</type>
	</source>
</block>