OnDisconnectMidiOut ( func ) or OnDisconnectMidiOut ( ) - set or remove handler for MIDI-Out Port Disconnect event.
func must be a function with a single parameter which is the name of the disconnected port.
Monitoring MIDI connections may be a resource-consuming operation. Don't use it unless you really need it.
Jazz.OnDisconnectMidiOut(function(name){ alert(name);}); // set handler Jazz.OnDisconnectMidiOut(); // remove handler