diff options
author | Tom Rondeau | 2012-04-26 20:05:59 -0400 |
---|---|---|
committer | Tom Rondeau | 2012-04-27 23:20:28 -0400 |
commit | d79054551fee36eda99a142aff2856f20b4787fa (patch) | |
tree | 4148248086ced3aad44cd38f616106c27af2368e /gr-fft/grc/goertzel_fc.xml | |
parent | 03d62861b6f1294cdf0e9ff1c8672a7973ebc9db (diff) | |
download | gnuradio-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.xml | 37 |
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> |