Constructor and Description |
---|
Pattern.PatternEntry(char wildcardCharacter,
int velocity,
int ticks,
boolean legato)
Constructor.
|
Pattern.PatternEntry(int ticks)
Constructor.
|
Pattern.PatternEntry(int pitch,
int velocity,
int ticks,
boolean legato)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getPitch()
Returns the pitch.
|
int |
getTicks()
Returns the number of ticks.
|
int |
getVelocity()
Returns the velocity.
|
char |
getWildcardCharacter()
Returns the wildcard character.
|
boolean |
isLegato()
Returns the legato flag.
|
boolean |
isNote()
Returns true if this is a note, false otherwise.
|
boolean |
isPause()
Returns true if this is a pause, false otherwise.
|
boolean |
isWildcard()
Returns true if this is a wildcard, false otherwise.
|
String |
toString(SongContext songContext) |
public Pattern.PatternEntry(int ticks)
ticks
- the number of tickspublic Pattern.PatternEntry(int pitch, int velocity, int ticks, boolean legato)
pitch
- the pitchvelocity
- the velocityticks
- the number of tickslegato
- the legato flagpublic Pattern.PatternEntry(char wildcardCharacter, int velocity, int ticks, boolean legato)
wildcardCharacter
- the wildcard charactervelocity
- the velocityticks
- the number of tickslegato
- the legato flagpublic char getWildcardCharacter()
public int getPitch()
public int getVelocity()
public int getTicks()
public boolean isNote()
public boolean isWildcard()
public boolean isPause()
public boolean isLegato()
public String toString(SongContext songContext)