Previous Next Package
Class MIDICompose.AfterTouch
java.lang.Object
|
+----MIDICompose.MIDIObject
|
+----MIDICompose.MIDIEvent
|
+----MIDICompose.VoiceEvent
|
+----MIDICompose.AfterTouch
- public class AfterTouch
- extends VoiceEvent
- implements Channelable, Amountable, Pitchable
-
MIN
- Minimal amount (0).
-
MAX
- Maximal amount (127).
-
ZERO
- Zero (=no effect) amount (0).
-
AfterTouch(int, int)
- Creates new AfterTouch with pitch and amount.
-
AfterTouch(int, int, int, int)
- Creates new AfterTouch with deltaTime, channel, pitch and amount.
All methods from interfaces are implemented, but not listed here!
AfterTouch
public AfterTouch(int pitch,
int amount)
- Creates a new AfterTouch.
- Parameters:
- pitch - any int between 0 and 127.
- amount - any int between MIN and MAX.
AfterTouch
public AfterTouch(int deltaTime,
int channel,
int pitch,
int amount)
- Creates a new AfterTouch.
- Parameters:
- deltaTime - any int (>= 0).
- channel - any int between 0 and 15 (CHAN_1...CHAN_16).
- pitch - any int between 0 and 127.
- amount - any int between MIN and MAX.
Previous Next Package