public class MarkerHolder extends Object
Constructor and Description |
---|
MarkerHolder(String text,
String voice,
int len,
int words) |
Modifier and Type | Method and Description |
---|---|
void |
addFrame() |
void |
addMarker(Marker marker) |
int |
getEnd(int frame)
Returns an int representing the end time for frame specified in milliseconds
|
int |
getLength(int frame)
Returns an int representing the duration in milliseconds for specified frame
|
Vector<Marker> |
getMarker() |
int |
getStart(int frame)
Returns an int representing the start time for frame specified in milliseconds
|
String |
getText(int frame)
Returns an int representing mouth viseme for current frame
|
int |
getTotalLength()
Returns an int representing total time for entire viseme animation in milliseconds
|
int |
getWords()
Returns an int representing number of frames in animation
|
public Vector _marker
public void addMarker(Marker marker)
public int getStart(int frame)
frame
- index for the frame to get information onpublic int getEnd(int frame)
frame
- index for the frame to get information onpublic String getText(int frame)
frame
- index for the frame to get information onpublic int getLength(int frame)
frame
- index for the frame to get information onpublic int getTotalLength()
public int getWords()
public void addFrame()