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
Sun Jul 20 05:28:55 CEST 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?
> any bug and comment are welcome

Just in case you don't know, there is a Python wrapper
to my own libsndfile ( http://www.zip.com.au/~erikd/libsndfile )
being developed here:

    http://www.arcsin.org/archive/20030520025359.shtml

libsndfile handles a large number of different file types
(AU, AIFF, WAV and many more) as well as many encodings
(8, 16, 24, and 32 bit integer PCM, 23 and 64 bit float 
PCM, A-law, u-law, MS ADPCM, IMA ADPCM, G721, G723 and
so on).

Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  nospam at mega-nerd.com (Yes it's valid)
+-----------------------------------------------------------+
"In civilian equipment, such as computers, the number
of components alone makes miniaturization essential if
the computer is to be housed in a reasonable-sized
building." Electronics Oct. 1, 1957, p. 178




More information about the Python-list mailing list