[Tutor] Music player for various formats

Prahlad Vaidyanathan slime@vsnl.net
Thu, 04 Apr 2002 06:08:13 -0500


Hi,

Just wrote a _very_ simple script to play sound files in various
formats. It currently supports wav, ogg, and a few others. I've put it
up here for your perusal :

    http://www.symonds.net/~prahladv/files/player.py

If you have the time, do take a look at it and send me feedback. As of
now, it just directly writes the raw data into a linuxaudiodev device.
So, it works only on Linux (I suppose). I would like to make it more
portable, but haven't found modules to do that :-(

Also, I haven't found a decent module to handle MP3 files, and I was
wondering if anyone here has seen/written something I could use.

The closest I got was a module to represent the tag of the MP3 file
alone, but nothing to handle the data.

Thanks !

pv.
-- 
Prahlad Vaidyanathan  <http://www.symonds.net/~prahladv/>

My uncle was the town drunk -- and we lived in Chicago.
		-- George Gobel