kklimited
New Member
MIDI-OX Rules!
Posts: 1
|
|
Yoke and Java Sound API Exception
« on: May 3rd, 2010, 11:06am » |
Quote Modify
|
Hi, I'm trying to send a MIDI message via Yoke to Ableton Live. In Live, I can select 'In from MIDI Yoke: 1' Here is a snippet of my Java code: Transmitter device = null; Receiver receiver = null; MidiDevice yoke = null; MidiDevice.Info[] info = MidiSystem.getMidiDeviceInfo(); yoke = MidiSystem.getMidiDevice(info[4]); // This returns a handle to 'Out To MIDI Yoke: 1' yoke.open(); device = yoke.getTransmitter(); However after calling yoke.getTransmitter() the following exception is thrown: javax.sound.midi.MidiUnavailableException: MIDI OUT transmitter not available I'm using Java 6 (1.6.20) and the latest Yoke. Can anybody help? Thanks in advance, Kevin.
|