org.robokind.integration.motion_speech
Class VisemeFrameSource

java.lang.Object
  extended by org.robokind.integration.motion_speech.VisemeFrameSource
All Implemented Interfaces:
org.robokind.api.motion.blending.FrameSource<org.robokind.api.motion.Robot.RobotPositionMap>

public class VisemeFrameSource
extends Object
implements org.robokind.api.motion.blending.FrameSource<org.robokind.api.motion.Robot.RobotPositionMap>

Creates MotionFrames from Visemes for synchronizing Joint movement with s speech.

Author:
Matthew Stevenson

Constructor Summary
VisemeFrameSource(org.robokind.api.motion.Robot.Id robotId, org.robokind.api.speech.viseme.VisemeBindingManager visemeManager)
          Creates a new VisemeFrameSource
 
Method Summary
 org.robokind.api.motion.protocol.MotionFrame<org.robokind.api.motion.Robot.RobotPositionMap> getMovements(long currentTimeUTC, long moveLengthMilliSec)
           
 org.jflux.api.core.Listener<org.robokind.api.speech.viseme.VisemeEvent> getVisemeListener()
          Returns the VisemeListener which supplies this FrameSource with Visemes.
 void setVisemeBindingManager(org.robokind.api.speech.viseme.VisemeBindingManager manager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VisemeFrameSource

public VisemeFrameSource(org.robokind.api.motion.Robot.Id robotId,
                         org.robokind.api.speech.viseme.VisemeBindingManager visemeManager)
Creates a new VisemeFrameSource

Parameters:
robotId - robot to move
visemeManager - VisemeManager to provide positions from visemes
Method Detail

setVisemeBindingManager

public void setVisemeBindingManager(org.robokind.api.speech.viseme.VisemeBindingManager manager)

getMovements

public org.robokind.api.motion.protocol.MotionFrame<org.robokind.api.motion.Robot.RobotPositionMap> getMovements(long currentTimeUTC,
                                                                                                                 long moveLengthMilliSec)
Specified by:
getMovements in interface org.robokind.api.motion.blending.FrameSource<org.robokind.api.motion.Robot.RobotPositionMap>

getVisemeListener

public org.jflux.api.core.Listener<org.robokind.api.speech.viseme.VisemeEvent> getVisemeListener()
Returns the VisemeListener which supplies this FrameSource with Visemes.

Returns:
VisemeListener which supplies this FrameSource with Visemes


Copyright © 2011-2013. All Rights Reserved.