public class ID3v24FrameBodySynchronizedTempoCodes.TempoChange
extends java.lang.Object
Constructor and Description |
---|
ID3v24FrameBodySynchronizedTempoCodes.TempoChange(int beatsPerMinute,
int timeStamp)
constructor used to create a tempo change.
|
Modifier and Type | Method and Description |
---|---|
int |
getBeatsPerMinute()
gets the metronome setting for the song, ie, the number of beats per minute.
|
int |
getTimeStamp()
gets the timeStamp where the tempo change occurs in the song.
|
java.lang.String |
toString()
gets a string representation of the tempo change.
|
public ID3v24FrameBodySynchronizedTempoCodes.TempoChange(int beatsPerMinute, int timeStamp)
beatsPerMinute
- 0 indicates a beat-free time period. 1 indicates a single beat-stroke followed by a beat-free period. 2 - 510 indicates the metronome setting for the song, ie,
the number of beats per minute.timeStamp
- the timestamp in the song where the tempo change occurs. The units of the timestamp are specified by the time stamp format
field.public int getBeatsPerMinute()
public int getTimeStamp()
public java.lang.String toString()
toString
in class java.lang.Object