|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfugue.Tempo
public final class Tempo
Represents tempo changes. Tempo is kept for the whole song, and is independent of tracks. You may change the tempo during a song. As of JFugue 4.0, Tempo represents the Beats Per Minute (BPM). In previous versions, Tempo was measured in microseconds per beat, which is how MIDI maintains this information. (tempo = 60000 / BPM, and BPM = 60000 / tempo)
| Field Summary | |
|---|---|
static int |
ADAGIETTO
|
static int |
ADAGIO
|
static int |
ALLEGRETTO
|
static int |
ALLEGRO
|
static int |
ANDANTE
|
static int |
ANDANTINO
|
static int |
GRAVE
|
static int |
LARGHETTO
|
static int |
LARGO
|
static int |
LENTO
|
static int |
MODERATO
|
static int |
PRESTO
|
static int |
PRETISSIMO
|
static int |
VIVACE
|
| Constructor Summary | |
|---|---|
Tempo(int tempoInBPM)
Creates a new Tempo object, with the specified tempo value (in BPM). |
|
| Method Summary | |
|---|---|
java.lang.String |
getMusicString()
Returns the Music String representing this element and all of its settings. |
int |
getTempo()
Returns the value of the tempo for this object. |
java.lang.String |
getVerifyString()
Returns verification string in this format: Tempo: tempo={#} |
void |
setTempo(int tempoInBPM)
Sets the value of the tempo for this object. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int GRAVE
public static final int LARGO
public static final int LARGHETTO
public static final int LENTO
public static final int ADAGIO
public static final int ADAGIETTO
public static final int ANDANTE
public static final int ANDANTINO
public static final int MODERATO
public static final int ALLEGRETTO
public static final int ALLEGRO
public static final int VIVACE
public static final int PRESTO
public static final int PRETISSIMO
| Constructor Detail |
|---|
public Tempo(int tempoInBPM)
tempo - the tempo for this object, in Beats Per Minute| Method Detail |
|---|
public void setTempo(int tempoInBPM)
tempo - the tempo for this objectpublic int getTempo()
public java.lang.String getMusicString()
Ttempo
getMusicString in interface JFugueElementpublic java.lang.String getVerifyString()
getVerifyString in interface JFugueElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||