Java MIDI - ControllerEventListener (How to change the instrument)
问题 I'm working on a program which generates and plays MIDI Events. I've implemented the ControllerEventListener Interface for I want to print messages every time one of the 15 notes is played. The problem is, that I can't change the instrument the notes are played by anymore (by that I've to say that my computer don't uses the default Piano, but a drum or something similar if I add the ControllerEvent to the track) I already looked up the involved methods in the Java API specifications, but I