|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.farng.mp3.AbstractMP3FileItem org.farng.mp3.AbstractMP3FragmentBody org.farng.mp3.id3.AbstractID3v2FrameBody org.farng.mp3.id3.FrameBodyETCO
This frame allows synchronisation with key events in the audio. The
header is:
<Header for 'Event timing codes', ID: "ETCO">
Where time stamp format is:
$01 Absolute time, 32 bit sized, using MPEG [MPEG] frames as unit
$02 Absolute time, 32 bit sized, using milliseconds as unit
Absolute time means that every stamp contains the time from the
beginning of the
file.
Followed by a list of key events in the following format:
Type of event $xx
The 'Time stamp' is set to zero if directly at the beginning of the
sound or after
the previous event. All events MUST be sorted in
chronological order. The type of event is as
follows:
$00 padding (has no meaning)
$01 end of initial
silence
$02 intro start
$17-$DF reserved for future use
$E0-$EF not predefined synch 0-F
$F0-$FC reserved for future use
$FD audio end (start of silence)
Terminating the start events such as "intro start" is OPTIONAL. The
'Not
predefined synch's ($E0-EF) are for user events. You might want
to synchronise your music to
something, like setting off an explosion
on-stage, activating a screensaver etc.
There may only be one "ETCO" frame in each tag.
Constructor Summary | |
FrameBodyETCO()
Creates a new FrameBodyETCO object. |
|
FrameBodyETCO(byte timeStampFormat,
byte event,
int timeStamp)
Creates a new FrameBodyETCO object. |
|
FrameBodyETCO(FrameBodyETCO body)
Creates a new FrameBodyETCO object. |
|
FrameBodyETCO(java.io.RandomAccessFile file)
Creates a new FrameBodyETCO object. |
Method Summary | |
void |
addGroup(byte event,
int timeStamp)
|
java.lang.String |
getIdentifier()
ID string that usually corresponds to the class name, but can be displayed to the user. |
java.lang.String |
getOwner()
|
void |
getOwner(java.lang.String description)
|
protected void |
setupObjectList()
Create the order of MP3Object objects that this body expects. |
Methods inherited from class org.farng.mp3.id3.AbstractID3v2FrameBody |
equals, readHeader, writeHeader |
Methods inherited from class org.farng.mp3.AbstractMP3FragmentBody |
appendToObjectList, getBriefDescription, getDescription, getObject, getObjectListIterator, getSize, has6ByteHeader, isSubsetOf, iterator, read, setObject, toString, write |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FrameBodyETCO()
public FrameBodyETCO(FrameBodyETCO body)
public FrameBodyETCO(byte timeStampFormat, byte event, int timeStamp)
public FrameBodyETCO(java.io.RandomAccessFile file) throws java.io.IOException, InvalidTagException
Method Detail |
public java.lang.String getIdentifier()
AbstractMP3FileItem
getIdentifier
in class AbstractMP3FileItem
public java.lang.String getOwner()
public void getOwner(java.lang.String description)
public void addGroup(byte event, int timeStamp)
protected void setupObjectList()
AbstractMP3FragmentBody
MP3Object
objects that this body expects. This method needs to be overwritten.
setupObjectList
in class AbstractMP3FragmentBody
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |