MIDI file parser, MIDI classes

Will Ware wware at world.std.com
Fri Jan 5 07:59:36 EST 2001


http://www.deja.com/getdoc.xp?AN=711531226&fmt=text

This is a collection of Python classes representing the information
in a MIDI file. To parse a MIDI file, type:

python midi.py < yourfile.mid       or
python midi.py -i yourfile.mid

-- 
import string,time,os;print string.join((lambda x:x[:10]+x[8:])(map(
lambda x:string.center("*"*(lambda x:((x<24) ### Seasons Greetings, Will Ware
*(x-3))+3)(x),24),range(1,28, 2))),"\n") ################ wware at world.std.com



More information about the Python-list mailing list