public class FrameBodySYTC extends AbstractID3v2FrameBody implements ID3v24FrameBody, ID3v23FrameBody
The tempo descriptor is followed by a time stamp. Every time the tempo in the music changes, a tempo descriptor may indicate this for the player. All tempo descriptors should be sorted in chronological order. The first beat-stroke in a time-period is at the same time as the beat description occurs. There may only be one "SYTC" frame in each tag.
<Header for 'Synchronised tempo codes', ID: "SYTC"> | |
Time stamp format | $xx |
Tempo data | <binary data> |
Where time stamp format is:
$01 Absolute time, 32 bit sized, using MPEG frames as unit
$02 Absolute time, 32 bit sized, using milliseconds as unit
Abolute time means that every stamp contains the time from the beginning of the file.
For more details, please refer to the ID3 specifications:
TYPE_BODY
objectList
logger
Constructor and Description |
---|
FrameBodySYTC()
Creates a new FrameBodySYTC datatype.
|
FrameBodySYTC(java.nio.ByteBuffer byteBuffer,
int frameSize)
Creates a new FrameBody from buffer
|
FrameBodySYTC(FrameBodySYTC body)
Copy constructor
|
FrameBodySYTC(int timeStampFormat,
byte[] tempo) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getIdentifier()
The ID3v2 frame identifier
|
protected void |
setupObjectList()
Create the list of Datatypes that this body
expects in the correct order This method needs to be implemented by concrete subclasses
|
createStructure, equals, getSize, read, setSize, setSize, write
getBriefDescription, getHeader, getLongDescription, getObject, getObjectValue, getTextEncoding, getUserFriendlyValue, isSubsetOf, iterator, setHeader, setObjectValue, setTextEncoding, toString
public FrameBodySYTC()
public FrameBodySYTC(int timeStampFormat, byte[] tempo)
timeStampFormat
- tempo
- public FrameBodySYTC(java.nio.ByteBuffer byteBuffer, int frameSize) throws InvalidTagException
byteBuffer
- frameSize
- InvalidTagException
public FrameBodySYTC(FrameBodySYTC body)
body
- public java.lang.String getIdentifier()
getIdentifier
in class AbstractID3v2FrameBody
protected void setupObjectList()
AbstractTagFrameBody
setupObjectList
in class AbstractTagFrameBody
Copyright © 2005-2013 java.net. All Rights Reserved.