Re: [LAU] Converting binary digital data in PCM

From: Pierre <lists.stackp@email-addr-hidden>
Date: Sat Dec 11 2010 - 11:36:04 EET

> The command line program sox should be able to handle that.

Indeed, this should work:

sox -e raw -b 32 -c 1 -r SAMPLERATE --endian little data.raw -b 16 -c 1
-r 44100 sound.wav

(change SAMPLERATE to the sampling rate in Hertz of your analytical
instrument, data.raw to your input file name, and sound.wav to your
output file name).

Cheers,
Pierre
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Sat Dec 11 12:15:01 2010

This archive was generated by hypermail 2.1.8 : Sat Dec 11 2010 - 12:15:02 EET