Wav File Source: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
mNo edit summary
(mention libsndfile, 3.9.0.0)
Line 1: Line 1:
[[Category:Block Docs]]
[[Category:Block Docs]]
It reads audio stream from a Microsoft PCM (pulse code modulated) (.wav) file. Its output is a float stream.
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](http://libsndfile.github.io/libsndfile/formats.html) 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].
Unless called otherwise, the values are inside the range of [-1:1].

Revision as of 10:29, 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](http://libsndfile.github.io/libsndfile/formats.html) 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]