midicontrols
midicontrols copied to clipboard
Ensure singleton midi devices
I think it makes sense to make sure there is only a single object instance actually talking to each midi device, perhaps keeping a cache of objects tied to midi device numbers, and a function to get the existing instance for a particular midi device.