Re: [LAU] sox (or other): Microsoft PCM

From: Emanuel Rumpf <xbran@email-addr-hidden>
Date: Sun Jul 31 2011 - 22:12:30 EEST

2011/7/31 Atte André Jensen <atte@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.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Mon Aug 1 00:15:01 2011

This archive was generated by hypermail 2.1.8 : Mon Aug 01 2011 - 00:15:01 EEST