USB MIDI device list

99benns's icon

Hello

I have some USB devices connected to Max 6 on OS X Lion including a Behringer BCF and a couple of M-Audio keyboards.

If I disconnect and re-connect a device, it will stop working. The only way I can get the devices working again without restarting Max is to:
-disconnect device from USB
-send a bang to the midiinfo object
-re-connect the device
-send another bang to the midiinfo object

If I don't bang the midi info object when the device is disconnected, Max wont receive any MIDI information.

Max Patch
Copy patch and select New From Clipboard in Max.

I guess the midiinfo object is refreshing something behind the scenes. Does anybody know of a way to refresh all USB/MIDI devices with just one click? I have tried enabling/disabling the devices in the MIDI settings but this doesn't work.

Thanks
Simon

Peter Ostry's icon

I cannot even do what you do (OSX Snow Leopard).
I have to restart Max to get a lost port back.

99benns's icon

Really? Try connecting a bang to the right inlet of midiinfo, disconnect, hit the bang, reconnect, hit the bang. You shouldn't have to restart max though, with Cubase 6 I can unplug/reconnect devices and they are detected immediately. This is important for me when using the system LIVE just incase something were to happen.

I'm basically trying to make a patch which is as bomb proof as possible and I don't trust little flimsy USB cables. The latest firewire sockets on the MPB is a problem for me also, even with a good quality cable a wiggle or some power interference can occasionally upset the connection. I want a patch whereby if this happens, it can recover without a software restart.