Wav File Source

From GNU Radio
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

It reads audio stream from a Microsoft PCM (pulse code modulated) (.wav) file (all versions of GNU Radio) and every other file format that libsndfile supports (GNU Radio 3.9.0.0 and later).

Its output is a float stream.

Unless called otherwise, the values are inside the range of [-1:1].

Parameters

(R): Run-time adjustable

File
Path to the .wav file to be read
Repeat
Repeat playback of the file when end is reached
N Channels
Number of audio channels to output

Example Flowgraph

This flowgraph shows a Wav File Source block producing pre-recorded radioteletype signals.

Test0624.png

Source Files

C++ files
[1]
Header files
[2]
Public header files
[3]
Block definition
[4]

See also