When we try to get communicate with external devices/software to render sound, we must specify that to the Musician. Generally we just pass the device name (string) in the Musician's constructor, but if there are two devices with the same name this can be a problem. This happens often at the Mac plataform (Bus1 is both input and output).
MidiDevice devices = OctopusMidiSystem.getDevices(true, true);
String deviceName = (devices.getDeviceInfo().getName());
MidiSynthesizerController controller = new MidiSynthesizerController(deviceName);
Musician m = new Musician(controller);
Log in to post a comment.