pymad 0.5.4

pymad is a Python module that allows Python programs to use the MPEG Audio Decoder library.

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
GPL (GNU General Public License) 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Jamie Wilkinson
HOMEPAGE:
spacepants.org
CATEGORY:
ROOT \ Multimedia \ Audio
pymad is a Python module that allows Python programs to use the MPEG Audio Decoder library.

pymad provides a high-level API, similar to the pyogg module, which makes reading PCM data from MPEG audio streams a piece of cake.

Using pymad is as easy as:

import mad, ao, sys

mf = mad.MadFile(sys.argv[1])
dev = ao.AudioDevice('oss', rate=mf.samplerate())
while 1:
buf = mf.read()
if buf is None:
break
dev.play(buf, len(buf))


pymad uses the Python distutils tool. To build and install pymad, install python and libmad development files, and then:

Remember to make sure /usr/local/python/site-packages/ is in your Python search path.

pymad is licensed under the GNU General Public License.

Last updated on June 27th, 2005

#MPEG decoder library #audio decoder library #audio decoder #pymad #MPEG #audio #decoder

Add your review!

SUBMIT