Listen MidiMessage from MIDI IN (Transmitter)
I'm trying to get MidiMessage, or any object for get Note On events, from an Sound Interface Midi In.
Ok, the device is loaded, and also Receiver and Transmitter(Midi In port). But I have no idea how to listen or read the midi messages indicating a note has been played.
It's strange that Package javax.sound.midi hasn't MessageEventListener method or similar. I've been looking for and find this on a book ...
" A bug, actually, that won't let us listen for the MIDI events we're making (the ones for NOTE ON ) "(see reference)
I can't believe it's impossible to create an EventListener for Note On events from MIDI input. Does anyone's have some experience on this ???
Edit: reference: Page 387