]> git.gag.com Git - debian/gnuradio/blobdiff - grc/blocks/gr_wavfile_source.xml
Imported Upstream version 3.2.2
[debian/gnuradio] / grc / blocks / gr_wavfile_source.xml
diff --git a/grc/blocks/gr_wavfile_source.xml b/grc/blocks/gr_wavfile_source.xml
new file mode 100644 (file)
index 0000000..433bb0a
--- /dev/null
@@ -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 &lt;= $nchan</check>
+       <source>
+               <name>out</name>
+               <type>float</type>
+               <nports>$nchan</nports>
+       </source>
+</block>