diff options
author | manojgudi | 2013-10-07 14:26:59 +0530 |
---|---|---|
committer | manojgudi | 2013-10-07 14:26:59 +0530 |
commit | 6bc92d66be9975d618ac4cd104e7f5ff6e8605f2 (patch) | |
tree | 3a77657667b4ef037f712ee68a5ec86c86cba5c5 /grc/blocks/gr_wavfile_source.xml | |
parent | 452defdb4a78e9e826740ddf4b9673e926c568a4 (diff) | |
parent | e9576e44ef8f0ad67d8cd8a4e025a0f8da0727f8 (diff) | |
download | gnuradio-6bc92d66be9975d618ac4cd104e7f5ff6e8605f2.tar.gz gnuradio-6bc92d66be9975d618ac4cd104e7f5ff6e8605f2.tar.bz2 gnuradio-6bc92d66be9975d618ac4cd104e7f5ff6e8605f2.zip |
merge from gr36_ni branch
Diffstat (limited to 'grc/blocks/gr_wavfile_source.xml')
-rw-r--r-- | grc/blocks/gr_wavfile_source.xml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/grc/blocks/gr_wavfile_source.xml b/grc/blocks/gr_wavfile_source.xml new file mode 100644 index 000000000..433bb0af2 --- /dev/null +++ b/grc/blocks/gr_wavfile_source.xml @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<!-- +################################################### +##Wav File Source +################################################### + --> +<block> + <name>Wav File Source</name> + <key>gr_wavfile_source</key> + <import>from gnuradio import gr</import> + <make>gr.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> |