public class VisemeHolder extends Object
Constructor and Description |
---|
VisemeHolder(String text,
String voice,
int len,
int frames) |
Modifier and Type | Method and Description |
---|---|
void |
addFrame() |
void |
addViseme(Viseme viseme) |
int |
getEnd(int frame)
Returns an int representing the end time for frame specified in milliseconds
|
int |
getFrames()
Returns an int representing number of frames in animation
|
int |
getLength(int frame)
Returns an int representing the duration in milliseconds for specified frame
|
int |
getMouth(int frame)
Returns an int representing mouth viseme for current frame
|
int |
getStart(int frame)
Returns an int representing the start time for frame specified in milliseconds
|
int |
getTotalLength()
Returns an int representing total time for entire viseme animation in milliseconds
|
Vector<Viseme> |
getViseme() |
public void addViseme(Viseme viseme)
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 int getMouth(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 getFrames()
public void addFrame()