org.blinkenlights.jid3.v2
Class SYTCID3V2Frame.TempoChange

java.lang.Object
  extended byorg.blinkenlights.jid3.v2.SYTCID3V2Frame.TempoChange
Enclosing class:
SYTCID3V2Frame

public static class SYTCID3V2Frame.TempoChange
extends java.lang.Object

TempoChange class. This container class is used to hold a timestamp and bpm value pair.


Constructor Summary
SYTCID3V2Frame.TempoChange(int iBeatsPerMinute, int iTimestamp)
          Constructor.
 
Method Summary
 int getBeatsPerMinute()
          Get the number of beats per minute.
 int getTimestamp()
          Get the timestamp.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SYTCID3V2Frame.TempoChange

public SYTCID3V2Frame.TempoChange(int iBeatsPerMinute,
                                  int iTimestamp)
                           throws ID3Exception
Constructor.

Parameters:
iBeatsPerMinute - the number of beats per minute (0 = beat free, 1 = single beat stroke followed by beat free period)
Throws:
ID3Exception - if beats per minute is outside range from 0-510, or if timestamp is negative
Method Detail

getBeatsPerMinute

public int getBeatsPerMinute()
Get the number of beats per minute.

Returns:
the number of beats per minute (0 = beat free, 1 = single beat stroke followed by beat free period)

getTimestamp

public int getTimestamp()
Get the timestamp.

Returns:
the timestamp value