You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to have an auto-reconnect feature, in case of accidental unplug of a device during a performance.
Here is how I see it could be done:
an external "poller" polls midi sources on a regular basis. MKtl optionally registers connected devices to it, so that if one of them disappears and then re-appears, the poller calls MKtl(x).reconnect.
MKtl(x).reconnect could just trash the previous device and make a new one ( try{this.closeDevice}; this.device = nil; this.openDevice )