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

Variable Index

 o MIN
Minimal amount (0).
 o MAX
Maximal amount (127).
 o ZERO
Zero (=no effect) amount (0).

Constructor Index

 o AfterTouch(int, int)
Creates new AfterTouch with pitch and amount.
 o AfterTouch(int, int, int, int)
Creates new AfterTouch with deltaTime, channel, pitch and amount.

Method Index

All methods from interfaces are implemented, but not listed here!

Constructors

 o 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.
 o 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