python-rtmidi icon indicating copy to clipboard operation
python-rtmidi copied to clipboard

How to get Port Number after calling open_midiinput or open_midioutput?

Open andreaseinsiedler opened this issue 1 year ago • 4 comments

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.

andreaseinsiedler avatar Jul 08 '24 10:07 andreaseinsiedler