Wav File Source: Difference between revisions
Jump to navigation
Jump to search
(mention libsndfile, 3.9.0.0) |
m (fixed broken link formatting) |
||
Line 1: | Line 1: | ||
[[Category:Block Docs]] | [[Category:Block Docs]] | ||
It reads audio stream from a Microsoft PCM (pulse code modulated) (.wav) file (all versions of GNU Radio) and every other file format that [ | It reads audio stream from a Microsoft PCM (pulse code modulated) (.wav) file (all versions of GNU Radio) and every other file format that [http://libsndfile.github.io/libsndfile/formats.html ''libsndfile''] supports (GNU Radio 3.9.0.0 and later). | ||
Its output is a float stream. | Its output is a float stream. |
Revision as of 10:31, 26 June 2022
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]