Hi,

i construct very simple scheme Audio Source --> Wav Sink
gr generates non-null wav file
-rw-rw-r-- 1 anton anton 24M сент. 27 00:46 freq2.wav

but when i try to play it or fetch info about file with soxi (sox plugin)
i got nothing

aplay freq2.wav
Воспроизведение WAVE 'freq2.wav' : Signed 16 bit Little Endian,
Частота 44100 Гц, Моно
<imidiate stop>

and soxi freq2.wav shows

$ soxi freq2.wav

Input File     : 'freq2.wav'
Channels       : 1
Sample Rate    : 44100
Precision      : 16-bit
Sample Encoding: 16-bit Signed Integer PCM


so it seems to me wav sink produces corrupted wav files or ... what am
i doing wrong?

e.g.
soxi info on good wav file

$ soxi arecord.wav

Input File     : 'arecord.wav'
Channels       : 1
Sample Rate    : 8000
Precision      : 8-bit
Duration       : 00:00:02.38 = 19000 samples ~ 178.125 CDDA sectors
File Size      : 19.0k
Bit Rate       : 64.1k
Sample Encoding: 8-bit Unsigned Integer PCM

look at Sample Encoding - it is Signed for gnuradio and Unsigned for all others.

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to