Hey guys, I have a question about sending and receiving MIDI messages...
How? I have tried many different variations of code but get nothing...
I would be greatful if someone could point me in the right direction.
It's the thing that gives you the exception you posted above, but with the rest of the information.
(Also note that the exception documentation may provide you with a clue as to what's going wrong.)
Joined: Dec 20, 2009
Exception in thread "Thread-3" java.lang.RuntimeException: Uncompilable source code - unreported exception javax.sound.midi.InvalidMidiDataException; must be caught or declared to be thrown
BUILD SUCCESSFUL (total time: 9 seconds) Is what I get from the output window, with the task window show:
unreported exception javax.sound.midi.InvalidMidiDataException; must be caught or declared to be thrown | MidiIOEvent.java | line 72 |
unreported exception javax.sound.midi.InvalidMidiUnavailableException; must be caught or declared to be thrown | MidiIOEvent.java | line 74 |
You're not understanding what I said: this has nothing to do with MIDI yet; your code isn't compiling because of Java errors. The message explains what's missing--you're neither catching, nor throwing, a checked exception.