hello everyone.
i`m new to
java. i have a problem about getting default transmitter from MidiSystem class.
this is the error that has popped up on my console.
{ javax.sound.midi.MidiUnavailableException
at javax.sound.midi.MidiSystem.getDefaultDeviceWrapper(Unknown Source)
at javax.sound.midi.MidiSystem.getTransmitter(Unknown Source)
}
or "requested device not installed"!
i want to develop a program which gets midi message from midi io ports of computer, and for that purpose i think it is necessary to have a transmitter which transmits midi message from external device through midi io ports of PC and those ports must be somehow integrated with default transmitter. am i right?
if it is true, please help me for getting "default transmitter".
should i download it from somewhere (like oracle, unfortunately i did not find any thing)?
and if i must download the api from somewhere , how should i install it?
or should i create a transmitter class that implements "Transmitter Interface"? if so, how should i connect objects of that class to midi io ports?
(p.s: accept my apologies for bad English)