Re: [LAU] Converting binary digital data in PCM

From: Paul Davis <paul@email-addr-hidden>
Date: Sat Dec 11 2010 - 20:08:03 EET

On Sat, Dec 11, 2010 at 12:37 PM, ciclo esano <cicloesano@email-addr-hidden> wrote:
> Hmmm.. I have no success until now :(
> Using play -e raw -b 32 -c 1 -r 441000 --endian little dat.raw
> I am facing with the following error:
>
> play FAIL sox: --encoding: `raw' is not one of: signed-integer,
> unsigned-integer, floating-point, ms-adpcm, ima-adpcm, oki-adpcm,
> gsm-full-rate, u-law, mu-law, a-law.
>
> That's strange. I am sure the data are in little-endian format (since the
> storage CPU is Intel), each sample is 32-bit long integer, I have 32768
> samples but have no idea about the real sampling rate.

that's not the issue. the issue is that

   -e raw

is not accepted by the version of sox that you have.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Sat Dec 11 20:15:06 2010

This archive was generated by hypermail 2.1.8 : Sat Dec 11 2010 - 20:15:06 EET