[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Wav sink problem
From: |
Anton Komarov |
Subject: |
[Discuss-gnuradio] Wav sink problem |
Date: |
Thu, 27 Sep 2012 00:51:20 +0400 |
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] Wav sink problem,
Anton Komarov <=
- Re: [Discuss-gnuradio] Wav sink problem, Martin Braun (CEL), 2012/09/27
- Re: [Discuss-gnuradio] Wav sink problem, Anton Komarov, 2012/09/27
- Re: [Discuss-gnuradio] Wav sink problem, Martin Braun (CEL), 2012/09/27
- Re: [Discuss-gnuradio] Wav sink problem, Anton Komarov, 2012/09/27
- Re: [Discuss-gnuradio] Wav sink problem, mleech, 2012/09/27
- Re: [Discuss-gnuradio] Wav sink problem, Anton Komarov, 2012/09/27
- Re: [Discuss-gnuradio] Wav sink problem, mleech, 2012/09/27
- Re: [Discuss-gnuradio] Wav sink problem, Anton Komarov, 2012/09/27
- Re: [Discuss-gnuradio] Wav sink problem, mleech, 2012/09/27
- Re: [Discuss-gnuradio] Wav sink problem, Anton Komarov, 2012/09/27