Previous Next Package
Interface MIDICompose.Pitchable
- public interface Pitchable
All instances that are Pitchable have a pitch that can be read and set.
-
pitch()
- Returns current pitch.
-
setPitch(int)
- Sets pitch.
pitch
public abstract int pitch()
- Returns the current pitch.
- Returns:
- an int between 0 and 127.
setPitch
public abstract void setPitch(int pitch)
- Sets the pitch.
- Parameters:
- pitch - an int between 0 and 127.
Previous Next Package