diff options
author | Tom Rondeau <trondeau@vt.edu> | 2013-03-09 09:35:07 -0500 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2013-03-09 09:35:07 -0500 |
commit | 21c95a82a495f0cf9dfe511f9ef370bae9ac0eeb (patch) | |
tree | ae8b5808eb5b03495c3758baf5bb4ab679c68a7a /gr-blocks/grc/blocks_wavfile_source.xml | |
parent | 4389b769891283face9aa397bd4d736f478e97e4 (diff) |
blocks: moved tagged_file_sink and wavfile source/sink/base to gr-blocks.
Diffstat (limited to 'gr-blocks/grc/blocks_wavfile_source.xml')
-rw-r--r-- | gr-blocks/grc/blocks_wavfile_source.xml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/gr-blocks/grc/blocks_wavfile_source.xml b/gr-blocks/grc/blocks_wavfile_source.xml new file mode 100644 index 0000000000..deb48472a4 --- /dev/null +++ b/gr-blocks/grc/blocks_wavfile_source.xml @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<!-- +################################################### +##Wav File Source +################################################### + --> +<block> + <name>Wav File Source</name> + <key>blocks_wavfile_source</key> + <import>from gnuradio import blocks</import> + <make>blocks.wavfile_source($file, $repeat)</make> + <param> + <name>File</name> + <key>file</key> + <value></value> + <type>file_open</type> + </param> + <param> + <name>Repeat</name> + <key>repeat</key> + <value>True</value> + <type>enum</type> + <option> + <name>Yes</name> + <key>True</key> + </option> + <option> + <name>No</name> + <key>False</key> + </option> + </param> + <param> + <name>N Channels</name> + <key>nchan</key> + <value>1</value> + <type>int</type> + </param> + <check>1 <= $nchan</check> + <source> + <name>out</name> + <type>float</type> + <nports>$nchan</nports> + </source> +</block> |