[LAU] sox (or other): Microsoft PCM

Emanuel Rumpf xbran at web.de
Sun Jul 31 19:12:30 UTC 2011


2011/7/31 Atte André Jensen <atte at email.dk>:
> Hi all
>
> I have two files, file reports the following on them:
>
> RIFF (little-endian) data, WAVE audio, mono 44100 Hz
> RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 44100 Hz
>
> How can I convert the first to something that has the "Microsoft PCM, 16
> bit"-part in file's output? Sox always seems to output the former...
>
> NB: It's for input into another program that is very picky with it's file
> type, so far it seems that only files with "Microsoft PCM..." works.
>

Hi
PCM is an encoding often used in *.wav files.
More info here:
http://en.wikipedia.org/wiki/Linear_pulse-code_modulation


Try to encode with libsndfile:

(ubuntu:)
apt-get install sndfile-programs libsndfile1

sndfile-convert --help

shows different options, as -pcm16 etc.


-- 
E.R.


More information about the Linux-audio-user mailing list