Re: Converting binary digital data in PCM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux