Wav File Source
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
(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.
Source Files
- C++ files
- [1]
- Header files
- [2]
- Public header files
- [3]
- Block definition
- [4]
See also
- Wav File Sink for info on how to write audio files
- File Source for info how to read raw files
- File Sink for info how to write raw files