Forums > MaxMSP

[midiinfo] input midi devices not updating with connect or disconnect

June 16, 2014 | 4:59 pm

Hello,
I’m having a strange issue involving [midiinfo]. Say I connect a midi device to my computer, and then I send a bang to the [midiinfo] right inlet, and print the result out of the left outlet. The midi device appears as one of the results in the print message – that is good. Now, if I disconnect the device, no matter how long I wait, when I re-bang the [midiinfo] object, the old midi device still appears in the print output, or in other words, [midiinfo] still thinks the old MIDI device is connected, even if it is not! Even if I restart the patch, the old device still appears in the output. THe old device only gets cleared if I restart MAX itself…
I feel like this is abnormal behavior for the [midiinfo] object, but I’m not sure what to do about it. I want to detect if a certain MIDI device is connected or not, and I’m not sure how to do it with this bug, and I don’t know of another object that would let me do this.
All help is greatly appreciated!
Thanks!

  • This topic was modified 2 months by  codedorf.
  • This topic was modified 2 months by  codedorf.

June 25, 2014 | 12:57 pm

[ANSWER] That functionality is not supported. See http://cycling74.com/forums/topic/need-to-restart-max-to-see-usb-midi-devices/ for more info.


Viewing 2 posts - 1 through 2 (of 2 total)