If stereo WAV file's both channels are identical, change format to mono for all files recursively

Erik de Castro Lopo nospam at mega-nerd.com
Sat Jul 19 23:24:23 EDT 2003


Raseliarison nirinA wrote:
> 
> hi all,
> i found an unanswered question at
> http://www.faqts.com/knowledge_base/index.phtml/fid/538
> with possible response below. i've tried to send it at
> faqt.python but can't figure out how to edit the page. so i put it here.
> i want to kwon if this can convert all wave file. is there other
> encodage than 8 or 16 bits for .wav files?

Yes, dozens.

As well as 8 and 16 bit integer PCM files, there are also 24 
and 32 bit integer PCM, 32 and 64 bit floating point PCM,
A-law, u-law, at least 6 different forms of ADPCM (adaptive
differential PCM), GSM6.10, MP3 and many, many more.

Fortunately other than the ones listed above, all the others
are pretty rare.

Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  nospam at mega-nerd.com (Yes it's valid)
+-----------------------------------------------------------+
J. Headley: "God, root, what is difference ?"
G. Haverland: "God can change the byte order on the CPU, root can't."




More information about the Python-list mailing list