org.robokind.api.speech.viseme
Interface VisemeEvent

All Known Implementing Classes:
DefaultVisemeEvent

public interface VisemeEvent

SpeechEvent with Visemes from a SpeechService, representing the visual information corresponding to current Speech from the SpeechService. Used to synchronize mouth movements (or other output) with speech.

Author:
Matthew Stevenson

Method Summary
 Viseme getCurrentViseme()
          Returns the current Viseme at the time of the event.
 int getDuration()
          Returns the number of milliseconds for the transition to the next Viseme.
 Viseme getNextViseme()
          Returns the Viseme to transition to.
 long getStream()
          Returns the speech Stream identifier.
 long getTimestampMillisecUTC()
          Returns the timestamp of the VisemeEvent.
 

Method Detail

getStream

long getStream()
Returns the speech Stream identifier.

Returns:
speech Stream identifier

getCurrentViseme

Viseme getCurrentViseme()
Returns the current Viseme at the time of the event.

Returns:
current Viseme at the time of the event

getNextViseme

Viseme getNextViseme()
Returns the Viseme to transition to.

Returns:
Viseme to transition to

getDuration

int getDuration()
Returns the number of milliseconds for the transition to the next Viseme.

Returns:
number of milliseconds for the transition to the next Viseme

getTimestampMillisecUTC

long getTimestampMillisecUTC()
Returns the timestamp of the VisemeEvent.

Returns:
timestamp of the VisemeEvent


Copyright © 2011-2013. All Rights Reserved.