Python Programming

Michael Ekstrand mekstran at scl.ameslab.gov
Mon Sep 26 15:47:51 EDT 2005


On Sep 26, 2005, at 1:46 PM, David Edwards wrote:
> I've got a short, simple Python script that is
> supposed to read a midi file and produce a text file
> of note and volume information, then render that info
> in another program.
>
> Unfortunately, I can't get it to work, so I was
> wondering if anyone is skilled enough to rewrite the
> script to read and render the info using PIL instead,
> as well as allowing me to save the results in .ps,
> .eps, or .ai formats for use in other programs like
> Photoshop or Illustrator.

Not a direct answer, but... I'd check out Lilypond. It's a music 
typesetting system; as I recall, it has the capacity to extract music 
data from MIDI files and generate Lilypond files, and then the Lilypond 
data can be converted to PS, DVI, PDF, etc.

-Michael




More information about the Python-list mailing list