org.robokind.api.speech.viseme
Class VisemeBindingManager

java.lang.Object
  extended by org.robokind.api.speech.viseme.VisemeBindingManager

public class VisemeBindingManager
extends Object

A VisemeBindingManager holds a set of VisemeBindings with different binding keys. This manages synchronizing multiple output channels to speech.

Author:
Matthew Stevenson

Field Summary
static org.robokind.api.common.config.VersionProperty VERSION
          Controller type VersionProperty.
static String VERSION_NAME
          Service type version name.
static String VERSION_NUMBER
          Service type version number.
 
Constructor Summary
VisemeBindingManager()
          Creates an empty VisemeBindingManager.
 
Method Summary
 void addBinding(VisemeBinding binding)
          Adds a VisemeBinding to this Manager.
 Map<Integer,org.robokind.api.common.position.NormalizedDouble> getBindingValues(Viseme viseme)
          Returns a Map of binding keys to NormalizedDoubles for the given Viseme.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION_NAME

public static final String VERSION_NAME
Service type version name.

See Also:
Constant Field Values

VERSION_NUMBER

public static final String VERSION_NUMBER
Service type version number.

See Also:
Constant Field Values

VERSION

public static final org.robokind.api.common.config.VersionProperty VERSION
Controller type VersionProperty.

Constructor Detail

VisemeBindingManager

public VisemeBindingManager()
Creates an empty VisemeBindingManager.

Method Detail

addBinding

public void addBinding(VisemeBinding binding)
Adds a VisemeBinding to this Manager. If a VisemeBinding with the same binding key exists, it is replaced with the new VisemeBinding.

Parameters:
binding - VisemeBinding to add

getBindingValues

public Map<Integer,org.robokind.api.common.position.NormalizedDouble> getBindingValues(Viseme viseme)
Returns a Map of binding keys to NormalizedDoubles for the given Viseme.

Parameters:
viseme - Viseme value to retrieve from each VisemeBinding
Returns:
Map of binding keys to NormalizedDoubles for the given Viseme


Copyright © 2011-2013. All Rights Reserved.