User Forum    :: Powered by YaBB
  « MIDI-OX User Forum - Yoke and Java Sound API Exception »
Welcome, Guest. Please Login or Register.
Dec 2nd, 2024, 9:22am


Home Home Help Help Search Search Members Members Login Login Register Register


   MIDI-OX User Forum
   MIDI Yoke
   MIDI Yoke NT
(Moderator: Jamie OConnell)
   Yoke and Java Sound API Exception
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Yoke and Java Sound API Exception  (Read 4669 times)
kklimited
New Member
*



MIDI-OX Rules!

   


Posts: 1
Yoke and Java Sound API Exception
« on: May 3rd, 2010, 11:06am »
Quote Quote Modify 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.
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »


MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.