Previous  Next          Package

Interface MIDICompose.Pitchable

public interface Pitchable

All instances that are Pitchable have a pitch that can be read and set.

Method Index

 o pitch()
Returns current pitch.
 o setPitch(int)
Sets pitch.

Methods

 o pitch
 public abstract int pitch()
Returns the current pitch.

Returns:
an int between 0 and 127.
 o setPitch
 public abstract void setPitch(int pitch)
Sets the pitch.

Parameters:
pitch - an int between 0 and 127.

 Previous  Next          Package