I am working on something that I want my Max program running, while plug-and-unplug occasionally with a USB MIDI keyboard, that it can work and send notes to the computer.
It seems to be fine in some of the software to support a hot-swap of MIDI keyboard, but not in Max/MSP.
I have a little patch below which help me to test.
If I plug in the keyboard, start the patch. The keyboard will be working. Then I unplug it and plug it in again, no error message, but the keyboard is now lose.
The only way to 'awaken' it is restart the Max/MSP environment.
I have already assign an abev. to the keyboard in 'midi setip..', but still no luck.
Any light ?