ExploreRobotHead.TTSTest.voice_Viseme Function
Use visemes thrown by the speech engine as the basis for commands to the robot head. First create a map between the visemes and cardinal, device independent mouth positions. Then map the robot min/max servo positions to the cardinal positions using linear regression (computed off line). Use this information to scale the cardinal positions to servo commands. Send servo commands.

Public void voice_Viseme (int, object, int, SpeechLib.SpeechVisemeType, SpeechLib.SpeechVisemeFeature, SpeechLib.SpeechVisemeType)
  Type Name Description  
    int streamNumber    
    object streamPosition    
    int duration    
    SpeechLib.SpeechVisemeType nextViseme    
    SpeechLib.SpeechVisemeFeature currentFeature    
    SpeechLib.SpeechVisemeType currentViseme    
  Return Description  
    void