Files
GnuRadio/gr-jay/grc/jay_peak_detect.xml
T
2019-05-20 22:45:17 +00:00

51 lines
1.2 KiB
XML

<?xml version="1.0"?>
<block>
<name>peak_detect</name>
<key>jay_peak_detect</key>
<category>[jay]</category>
<import>import jay</import>
<make>jay.peak_detect($alpha_s, $alpha_m, $vlen)</make>
<!-- Make one 'param' node for every Parameter you want settable from the GUI.
Sub-nodes:
* name
* key (makes the value accessible as $keyname, e.g. in the make node)
* type -->
<param>
<name>Alpha short</name>
<key>alpha_s</key>
<type>float</type>
</param>
<param>
<name>Alpha medium</name>
<key>alpha_m</key>
<type>float</type>
</param>
<param>
<name>Vector length</name>
<key>vlen</key>
<type>int</type>
</param>
<!-- Make one 'sink' node per input. Sub-nodes:
* name (an identifier for the GUI)
* type
* vlen
* optional (set to 1 for optional inputs) -->
<sink>
<name>in</name>
<type>float</type>
<vlen>$vlen</vlen>
</sink>
<!-- Make one 'source' node per output. Sub-nodes:
* name (an identifier for the GUI)
* type
* vlen
* optional (set to 1 for optional inputs) -->
<source>
<name>out</name>
<type>float</type>
<vlen>$vlen</vlen>
</source>
</block>