问题
is there a module to read midi input (live) with python?
回答1:
I used PyPortMidi successfully in 2006 to record Midi input in real time (on OS X). It should work on Windows, OS X, and Linux. It was very light on the processor side, which was great!
回答2:
I had this discussion like ages ago once, and the consensus kinda ended up on using MidiShare, which has Python bindings. But things may have moved on since then, that was like 2004 or something. So it's not a recommendation, just a "check it out".
来源:https://stackoverflow.com/questions/1554362/reading-midi-input