Adding new accessor for Goertzel filter to GRC block. Thanks to Marcus Leech for...
[debian/gnuradio] / grc / blocks / gr_goertzel_fc.xml
1 <?xml version="1.0"?>
2 <!--
3 ###################################################
4 ##Goertzel
5 ###################################################
6  -->
7 <block>
8         <name>Goertzel</name>
9         <key>gr_goertzel_fc</key>
10         <import>from gnuradio import gr</import>
11         <make>gr.goertzel_fc($rate, $len, $freq)</make>
12         <callback>set_freq($freq)</callback>
13         <callback>set_rate($rate)</callback>
14         <param>
15                 <name>Rate</name>
16                 <key>rate</key>
17                 <type>int</type>
18         </param>
19         <param>
20                 <name>Length</name>
21                 <key>len</key>
22                 <type>int</type>
23         </param>
24         <param>
25                 <name>Frequency</name>
26                 <key>freq</key>
27                 <type>real</type>
28         </param>
29         <sink>
30                 <name>in</name>
31                 <type>float</type>
32         </sink>
33         <source>
34                 <name>out</name>
35                 <type>complex</type>
36         </source>
37 </block>