Previous  Next          Package

Class MIDICompose.PitchBend

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

public class PitchBend
extends VoiceEvent
implements Channelable, Amountable

Variable Index

 o MIN
Minimal amount (-8192).
 o MAX
Maximal amount (8191).
 o ZERO
Zero (=no effect) amount (0).

Constructor Index

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

Method Index

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

Constructors

 o PitchBend
 public PitchBend(int amount)
Creates a new PitchBend.

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

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

 Previous  Next          Package