[LAU] Converting binary digital data in PCM

Paul Davis paul at linuxaudiosystems.com
Sat Dec 11 18:08:03 UTC 2010


On Sat, Dec 11, 2010 at 12:37 PM, ciclo esano <cicloesano at gmail.com> 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.


More information about the Linux-audio-user mailing list