Finds a MIDI device that is connected to the computer running the composition.
name
— All or part of the device’s name. If more than one device matches the given name, the one with the lowest ID is chosen.isInput
— If true, finds an input device. If false, finds an output device.Keywords: instrument, music, sequencer, synthesizer