diff options
Diffstat (limited to 'grc/data/platforms/python/blocks/blks2_standard_squelch.xml')
-rw-r--r-- | grc/data/platforms/python/blocks/blks2_standard_squelch.xml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/grc/data/platforms/python/blocks/blks2_standard_squelch.xml b/grc/data/platforms/python/blocks/blks2_standard_squelch.xml new file mode 100644 index 000000000..fa32c6c31 --- /dev/null +++ b/grc/data/platforms/python/blocks/blks2_standard_squelch.xml @@ -0,0 +1,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> |