Wav File Source

From GNU Radio
Revision as of 10:34, 26 June 2022 by MarcusMueller (talk | contribs) (add "See Also" section w. refs to Wav file sink, file {sink,source})
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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[edit]

(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[edit]

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

Test0624.png

Source Files[edit]

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

See also[edit]