2

is there a module to read midi input (live) with python?

KB22
  • 6,899
  • 9
  • 43
  • 52
kettlepot
  • 10,574
  • 28
  • 71
  • 100
  • What's you re requirements? Platforms? Platform independent? Sysex, etcs? All these things are important. – Lennart Regebro Oct 12 '09 at 12:55
  • Possible duplicate of http://stackoverflow.com/questions/569321/simple-cross-platform-midi-library-for-python, although that other question doesn't make sense (MIDI sounds?) and is less specific. – rjmunro Mar 20 '12 at 16:31

2 Answers2

3

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!

Eric O. Lebigot
  • 91,433
  • 48
  • 218
  • 260
1

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".

Lennart Regebro
  • 167,292
  • 41
  • 224
  • 251