Am 04.05.2016 um 15:11 schrieb Robin Gareus:
To make allow midi-keyboard interaction various midi
to OSC solutions
are available e.g. OSC2MIDI [3], or jackmidi2osc [4],...
Michael, even if you're not into Python, I just want to show you and
others interested in it, how easy it is to write a little script with
python-rtmidi and pyliblo [1] that reacts to incoming MIDI data and
sends out an OSC message whenever it receives a Note On message:
https://gist.github.com/SpotlightKid/593e393e729a9017b0ea3ac03be91e1d
This can be easily adpated and extended to your needs. The advantage
over the solutions mentioned by Robin is that python-rtmidi works on
Linux, OS X and Windows and with ALSA, JACK, CoreMIDI and Windows MM.
[2] A disadvantage is that Python is garbage-collected, so it is not
suited for absolutely timing critical applications. But this only
applies if you're concerned about jitter in the microsecond range (which
is a bit pointless with the speed of MIDI).
Chris
[1]
http://das.nasophon.de/pyliblo/
[2] Not sure whether pyliblo works on OS X or Win, but other pure-python
OSC libraries exist.