-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port name reported as "None" #21
Comments
Try to pass an appropriate
|
Unfortunately, I've tried None, utf-8, utf-16,utf-32 and continue to receive None as the portname:
|
It seems that the C++ RtMidi call Are you able to run the example code from here and confirm this or report any errors it may give? http://www.music.mcgill.ca/~gary/rtmidi/index.html#probing See here for an explanation on how to compile the example: http://www.music.mcgill.ca/~gary/rtmidi/index.html#compiling |
Yes, I was able to compile this. It does appear to return the empty string: $ ./midiprobe Compiled APIs: Current input API: OS-X CoreMidi There are 2 MIDI input sources available. Current output API: OS-X CoreMidi There are 2 MIDI output ports available. Interesting, since the port name is read and shows up in Audio Midi Setup, and in utility apps like MIDI Monitor and in Ableton. |
It seems like this is a bug in RtMidi. Can you please report it here? https://github.com/thestk/rtmidi/issues Be sure to mention your OS version and how the device name appears in other software. |
Thanks for all your help - sorry for the false alarm reporting this on the Python side. I've submitted the bug here: |
Thanks and no worries. Getting to the bottom of problems is what this issue tracker is here for. |
The upstream issue was closed as fixed, so I'm assuming this is fixed in python-rtmidi too. Of not, feel free to re-open the issue. |
I'm on macOS Sierra 10.12.3, and running Python 2.7.11 in a virtualenv with only rtmidi 1.1.0 installed.
When I go to Audio MIDI Setup, or other applications that let me view the port names of connected MIDI devices, I see one of my devices port names listed as:
Midi Fighter 3D�̨w
Note the unicode character: http://www.fileformat.info/info/unicode/char/0328/index.htm
I've e-mailed DJTechTools, the developers of this hardware, to ask if it's intentional that there is a strange character in their firmwares reporting of the port name.
However, when I perform the following with rtmidi:
I see the device with the unicode character have its port name reported as "None". If I connect to this device by port index rather than by name, I can successfully receive messages from the device, so I know this is the correct port. I'm not sure if this issue is in the underlying C++ rtmidi or in the Python bindings.
The text was updated successfully, but these errors were encountered: