python-rtmidi
python-rtmidi copied to clipboard
How to get Port Number after calling open_midiinput or open_midioutput?
I'm working on a way to save the Midi Setup and want to write the choosen Portnumbers to a txt file and when i recall i just pass it directly to open_midiinput(port) or open_midioutput(port).
I can add port to the return of open_midiport in midiutils.py and get the Portnumber this way. But i really don't want to change anything inside the module installed via pip.