Previous  Next          Package

Class MIDICompose.ControlChange

java.lang.Object
   |
   +----MIDICompose.MIDIObject
           |
           +----MIDICompose.MIDIEvent
                   |
                   +----MIDICompose.VoiceEvent
                           |
                           +----MIDICompose.ControlChange

public class ControlChange
extends VoiceEvent
implements Channelable, Amountable

Variable Index

 o MIN
Minimal amount (0).
 o MAX
Maximal amount (127).
 o CENTER
Center amount (64).
 o ZERO
Zero (=no effect) amount (MIN, MAX or CENTER depending on controller).
 o ALL_CONTROLLERS_OFF
 o ALL_NOTES_OFF
 o ALL_SOUND_OFF
 o BALANCE
 o BANK_SELECT
 o BREATH
Same as BREATH_CONTROLLER.
 o BREATH_CONTROLLER
 o CELESTE_LEVEL
 o CHORUS_LEVEL
 o DATA_BUTTON_DECREMENT
 o DATA_BUTTON_INCREMENT
 o DATA_ENTRY
 o EFFECT1
 o EFFECT2
 o EFFECT_CONTROL_1
 o EFFECT_CONTROL_2
 o EFFECTS_LEVEL
 o EXPRESSION
 o FOOT_PEDAL
 o GENERAL_PURPOSE_BUTTON_1
 o GENERAL_PURPOSE_BUTTON_2
 o GENERAL_PURPOSE_BUTTON_3
 o GENERAL_PURPOSE_BUTTON_4
 o GENERAL_PURPOSE_SLIDER_1
 o GENERAL_PURPOSE_SLIDER_2
 o GENERAL_PURPOSE_SLIDER_3
 o GENERAL_PURPOSE_SLIDER_4
 o HOLD_PEDAL
 o HOLD_2_PEDAL
 o LEGATO_PEDAL
 o LOCAL_KEYBOARD
 o MODULATION
Same as MODULATION_WHEEL.
 o MODULATION_WHEEL
 o MONO_OPERATION
 o NON_REGISTERED_PARAMETER
 o OMNI_MODE_OFF
 o OMNI_MODE_ON
 o PAN
Same as PAN_POSITION.
 o PAN_POSITION
 o PHASER_LEVEL
 o POLY_OPERATION
 o PORTAMENTO
 o PORTAMENTO_TIME
 o REGISTERED_PARAMETER
 o SOFT_PEDAL
 o SOUND_ATTACK_TIME
 o SOUND_BRIGHTNESS
 o SOUND_CONTROL_6
 o SOUND_CONTROL_7
 o SOUND_CONTROL_8
 o SOUND_CONTROL_9
 o SOUND_CONTROL_10
 o SOUND_RELEASE_TIME
 o SOUND_TIMBRE
 o SOUND_VARIATION
 o SUSTENUTO_PEDAL
 o TREMULO_LEVEL
 o VOLUME

Constructor Index

 o ControlChange(int, int)
Creates new ControlChange with controller and amount.
 o ControlChange(int, int, int, int)
Creates new ControlChange with deltaTime, channel, controller and amount.

Method Index

All methods from interfaces are implemented, but not listed here!
 o controller()
Returns current controller.
 o setController(int)
Sets controller.

Constructors

 o ControlChange
 public ControlChange(int controller,
                      int amount)
Creates a new ControlChange.

Parameters:
controller - any int between 0 and 127.
amount - any int between MIN and MAX.
 o ControlChange
 public ControlChange(int deltaTime,
                      int channel,
                      int controller,
                      int amount)
Creates a new ControlChange.

Parameters:
deltaTime - any int (>= 0).
channel - any int between 0 and 15 (CHAN_1...CHAN_16).
controller - any int between 0 and 127.
amount - any int between MIN and MAX.

Methods

 o controller
 public int controller()
Returns the current controller.

Returns:
any int between 0 and 127.
 o setController
 public void setController(int controller)
Sets the controller.

Parameters:
controller - any int between 0 and 127.

 Previous  Next          Package