Midi library for Python on Mac

3.2k Views Asked by At

I'm looking for a python midi library (preferably python3) which will allow me to produce midi commands so that I can control midi instruments on my mac.

I'm also interested in open sound control capabilities but this is less important.

Thanks,

Barry

3

There are 3 best solutions below

4
On BEST ANSWER

PyGame is a good starting point.

1
On

Could be a repeat of this. If not, there is definitely good Python MIDI info in that post.

So, basically you might want to use MidiUtil, a Python module.

2
On

Another option is the python wrapper of PortMidi, pyPortMidi, which is where the MIDI support in PyGame comes from.

A good resource is the PythonInMusic page on the Python wiki.