pymad

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

pymad Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Jamie Wilkinson
  • Publisher web site:
  • http://spacepants.org/src/glsnake/

pymad Tags


pymad Description

pymad is a Python module that allows Python programs to use the MPEG Audio Decoder library. 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, sysmf = mad.MadFile(sys.argv)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.


pymad Related Software