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

    Jun 16 2014 | 11: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!