public interface ControllerEventListener extends EventListener
ControllerEventListenerinterface should be implemented by classes whose instances need to be notified when a
Sequencerhas processed a requested type of MIDI control-change event. To register a
ControllerEventListenerobject to receive such notifications, invoke the
Sequencer, specifying the types of MIDI controllers about which you are interested in getting control-change notifications.
void controlChange(ShortMessage event)
Sequencerhas encountered and processed a control-change event of interest to this listener. The event passed in is a
ShortMessagewhose first data byte indicates the controller number and whose second data byte is the value to which the controller was set.
event- the control-change event that the sequencer encountered in the sequence it is processing
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.