SpotlightKid / python-rtmidi

Python bindings for the cross-platform MIDI I/O library RtMidi
https://spotlightkid.github.io/python-rtmidi/
Other
356 stars 65 forks source link

Send MIDI output with python-RtMidi #132

Closed Beeeton closed 1 year ago

Beeeton commented 1 year ago

Good day people! I am looking for a way to use python to send MIDI messages to other programs that receive MIDI input. In other words, use my python program as a MIDI keyboard of some kind. What would be the proper way to do that?

Beeeton commented 1 year ago

Well i found a program that creates MIDI ports which i can use to transmit messages from Python to other programs, and it actually works just fine, but requires an additional program to work. I hope there is a way to create MIDI ports with Python

SpotlightKid commented 1 year ago

https://spotlightkid.github.io/python-rtmidi/rtmidi.html#rtmidi.MidiIn.open_virtual_port

Not supported by the Windows MMS API, though.