blob: 6a84ebbb83090d1328efc8bd17e87a39eeec9622 (
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
|
id: blocks_wavfile_source
label: Wav File Source
parameters:
- id: file
label: File
dtype: file_open
- id: repeat
label: Repeat
dtype: enum
default: 'True'
options: ['True', 'False']
option_labels: ['Yes', 'No']
- id: nchan
label: N Channels
dtype: int
default: '1'
hide: part
outputs:
- domain: stream
dtype: float
multiplicity: ${ nchan }
asserts:
- ${ 1 <= nchan }
templates:
imports: from gnuradio import blocks
make: blocks.wavfile_source(${file}, ${repeat})
file_format: 1
|