Try http://alumni.media.mit.edu/~harrison/code.html
Lenard
machinimist@xxxxxxxxx wrote:
> thanks!
> http://sound.media.mit.edu/~harrison/pyportmidi/
> <http://sound.media.mit.edu/%7Eharrison/pyportmidi/>
> it sounds like it is what i need but unfortunately it doesn't seem to
> be available anymore...
>
> On 1/1/08, *Lenard Lindstrom* <len-l@xxxxxxxxx
> <mailto:len-l@xxxxxxxxx>> wrote:
>
> machinimist@xxxxxxxxx <mailto:machinimist@xxxxxxxxx> wrote:
> > hi,
> >
> > i have a midi song (not polyphonic) and want to play back one note
> > after another triggered by key presses. what would be the best
> way to
> > do this? i guess i can't directly do this with pygame but i need
> some
> > midi library? does anyone know which one would be suited for that
> > (ideally it should work in linux and windows)? has anyone tried to
> > do something similar?
> Check out the Python music page:
>
> http://wiki.python.org/moin/PythonInMusic
> <http://wiki.python.org/moin/PythonInMusic>
>
> Of the various midi packages PyPortMidi is still available.
>