|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfugue.PolyphonicPressure
public class PolyphonicPressure
Represents tempo changes. Tempo is kept for the whole song, and is independent of tracks. You may change the tempo during a song.
Constructor Summary | |
---|---|
PolyphonicPressure(byte key,
byte pressure)
Creates a new polyphonic pressure object, with the specified key and pressure values. |
Method Summary | |
---|---|
byte |
getKey()
Returns the key for this object. |
java.lang.String |
getMusicString()
Returns the Music String representing this element and all of its settings. |
byte |
getPressure()
Returns the pressure for this object. |
void |
setKey(byte key)
Sets the key value of this object. |
void |
setPressure(byte pressure)
Sets the pressure value of this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PolyphonicPressure(byte key, byte pressure)
key
- the key to apply pressure topressure
- the pressure to applyMethod Detail |
---|
public void setKey(byte key)
key
- the key for this objectpublic void setPressure(byte pressure)
pressure
- the pressure for this objectpublic byte getKey()
public byte getPressure()
public java.lang.String getMusicString()
*
key,pressure
getMusicString
in interface JFugueElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |