Packagecom.acapela.vaas.advanced.synchro
Classpublic class MouthPosition

A mouth position associates the characteristics of the mouth associated to a sequence in the speech and its corresponding timestamp in the generated sound. A mouth position is contains 8 numeric properties:

This class enables you for generate the movement of mouth to the corresponding sound message at the moment given

When the mouth manager is actived for generating message, you have an access to all the mouth positions corresponding to the message with the property mouthPositions of PositionsManagement. You should access it only from the MOUTH_POSITIONS_AVAILABLE event handlers.

See also

com.acapela.vaas.advanced.synchro.WordPosition
com.acapela.vaas.advanced.synchro.BookmarkPosition
com.acapela.vaas.advanced.synchro.PositionsManager
com.acapela.vaas.advanced.synchro.PositionsManager.mouthPositionsAvailable
com.acapela.vaas.advanced.Player
com.acapela.vaas.advanced.Player.synchroMouthPosition


Public Properties
 PropertyDefined by
  jawOpen : Number
[read-only] Angle to which the jaw is open.
MouthPosition
  lipTension : Number
[read-only] Lip tension.
MouthPosition
  mouthHeight : Number
[read-only] Height of the mouth or lips.
MouthPosition
  mouthUpturn : Number
[read-only] Extent to which the mouth turns up at the corners (that is, how much it smiles).
MouthPosition
  mouthWidth : Number
[read-only] Width of the mouth or lips.
MouthPosition
  teethLowerVisible : Number
[read-only] Extent to which the lower teeth are visible.
MouthPosition
  teethUpperVisible : Number
[read-only] Extent to which the upper teeth are visible.
MouthPosition
  timestamp : Number
[read-only] the corressponding time stamp
MouthPosition
  tonguePosn : Number
[read-only] Tongue position.
MouthPosition
Public Methods
 MethodDefined by
  
MouthPosition(mouthPosData:String = null)
constructor Create a new MouthPosition object instance.
MouthPosition
Property detail
jawOpenproperty
jawOpen:Number  [read-only]

Angle to which the jaw is open.

This is a linear range from 255 for completely open to 0 for completely closed.

Implementation
    public function get jawOpen():Number
lipTensionproperty 
lipTension:Number  [read-only]

Lip tension.

This is a linear range from 255 if the lips are very tense to 0 if they are completely relaxed.

Implementation
    public function get lipTension():Number
mouthHeightproperty 
mouthHeight:Number  [read-only]

Height of the mouth or lips.

This is a linear range from 255 for the maximum possible height for the mouth to 0 for the minimum height (that is, the mouth or lips are closed)

Implementation
    public function get mouthHeight():Number
mouthUpturnproperty 
mouthUpturn:Number  [read-only]

Extent to which the mouth turns up at the corners (that is, how much it smiles).

This is a linear range from 255 for the maximum upturn (that is, the mouth is fully smiling) to 0 if the corners of the mouth turn down. If this member is 128, the mouth is neutral.

Implementation
    public function get mouthUpturn():Number
mouthWidthproperty 
mouthWidth:Number  [read-only]

Width of the mouth or lips.

This is a linear range from 255 for the maximum possible width for the face to 0 for the minimum width that is, the mouth or lips are puckered).

Implementation
    public function get mouthWidth():Number
teethLowerVisibleproperty 
teethLowerVisible:Number  [read-only]

Extent to which the lower teeth are visible.

This is a linear range from 255 for the maximum extent (that is, the lower teeth and gums are completely exposed) to 0 for the minimum (the lower teeth are completely hidden.) If this member is 128, only the teeth are visible.

Implementation
    public function get teethLowerVisible():Number
teethUpperVisibleproperty 
teethUpperVisible:Number  [read-only]

Extent to which the upper teeth are visible.

This is a linear range from 255 for the maximum extent (that is, the lower teeth and gums are completely exposed) to 0 for the minimum (the lower teeth are completely hidden.) If this member is 128, only the teeth are visible.

Implementation
    public function get teethUpperVisible():Number
timestampproperty 
timestamp:Number  [read-only]

the corressponding time stamp

Implementation
    public function get timestamp():Number
tonguePosnproperty 
tonguePosn:Number  [read-only]

Tongue position.

This a linear range from 255 if the tongue is against the upper teeth, to 0 if it is relaxed. If this member is 128, the tongue is visible.

Implementation
    public function get tonguePosn():Number
Constructor detail
MouthPosition()constructor
public function MouthPosition(mouthPosData:String = null)

constructor Create a new MouthPosition object instance.

Parameters
mouthPosData:String (default = null)