Hi Anton,

I'd rather look if your audio source is producing the correct samples.

On Thu, Sep 27, 2012 at 12:51:20AM +0400, Anton Komarov wrote:
> 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

Looks good.

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

Looks good, too.

> 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.

You're comparing 16- with 8-Bit. They're different.

Check the WAV file with Audacity. You can also connect the WAV sink to a
signal source for further tests.

M

-- 
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin Braun
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association

Attachment: pgpdX0LAarrSf.pgp
Description: PGP signature

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

Reply via email to