[LAU] Converting binary digital data in PCM

ciclo esano cicloesano at gmail.com
Sat Dec 11 18:19:30 UTC 2010


YES  sox: SoX v14.3.1

*-es* was the right one :-)



2010/12/11 Paul Davis <paul at linuxaudiosystems.com>

> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20101211/f423a063/attachment.htm>


More information about the Linux-audio-user mailing list