summaryrefslogtreecommitdiff
path: root/grc/data/platforms/python/blocks/gr_wavfile_source.xml
blob: 433bb0af2102357f9714c4386d44cb487f5f0e7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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>