pymad

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))

The latest version of the source code is kept in arch:

baz register-archive http://arch.spacepants.org/jaq@spacepants.org--2004

baz get jaq@spacepants.org--2004/pymad--main--0
  
see here for details.

Send any patches or suggestions to Jamie Wilkinson