summaryrefslogtreecommitdiff
path: root/grc/data/platforms/python/blocks/blks2_standard_squelch.xml
blob: fa32c6c3117b064b66b218ed80f587e26ad3377f (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)
$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>