summaryrefslogtreecommitdiff
path: root/gr-fft/grc/goertzel_fc.xml
diff options
context:
space:
mode:
authorTom Rondeau2012-04-26 20:05:59 -0400
committerTom Rondeau2012-04-27 23:20:28 -0400
commitd79054551fee36eda99a142aff2856f20b4787fa (patch)
tree4148248086ced3aad44cd38f616106c27af2368e /gr-fft/grc/goertzel_fc.xml
parent03d62861b6f1294cdf0e9ff1c8672a7973ebc9db (diff)
downloadgnuradio-d79054551fee36eda99a142aff2856f20b4787fa.tar.gz
gnuradio-d79054551fee36eda99a142aff2856f20b4787fa.tar.bz2
gnuradio-d79054551fee36eda99a142aff2856f20b4787fa.zip
gr-fft: creates a gr-fft top-level component.
Diffstat (limited to 'gr-fft/grc/goertzel_fc.xml')
-rw-r--r--gr-fft/grc/goertzel_fc.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/gr-fft/grc/goertzel_fc.xml b/gr-fft/grc/goertzel_fc.xml
new file mode 100644
index 000000000..371284358
--- /dev/null
+++ b/gr-fft/grc/goertzel_fc.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+<!--
+###################################################
+##Goertzel
+###################################################
+ -->
+<block>
+ <name>Goertzel</name>
+ <key>goertzel_fc</key>
+ <import>from gnuradio import fft</import>
+ <make>fft.goertzel_fc($rate, $len, $freq)</make>
+ <callback>set_freq($freq)</callback>
+ <callback>set_rate($rate)</callback>
+ <param>
+ <name>Rate</name>
+ <key>rate</key>
+ <type>int</type>
+ </param>
+ <param>
+ <name>Length</name>
+ <key>len</key>
+ <type>int</type>
+ </param>
+ <param>
+ <name>Frequency</name>
+ <key>freq</key>
+ <type>real</type>
+ </param>
+ <sink>
+ <name>in</name>
+ <type>float</type>
+ </sink>
+ <source>
+ <name>out</name>
+ <type>complex</type>
+ </source>
+</block>