2011/7/31 Atte André Jensen <atte@xxxxxxxx>: > 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. _______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/listinfo/linux-audio-user