Sets or removes a callback fired whenever the set of connected MIDI devices or virtual sources changes. The callback receives two arguments: the current result of devices() and the current result of virtualSources().
devices()
virtualSources()
The function to call on any MIDI setup change, or null to remove it
null
Sets or removes a callback fired whenever the set of connected MIDI devices or virtual sources changes. The callback receives two arguments: the current result of
devices()and the current result ofvirtualSources().