v9.0 SP1 (2011)
Returns the data of the Face Robot speech operator, as shown on the tracks of in the Lip Sync view. The data starts at time zero, and needs to be offsetted by the offset of the Speech Clip.
oReturn = GetPhonemeFromSpeechClip( SpeechClip ); |
Returns a multi-dimentional array of results. Each column will
contain
1) The Unicode IPA code of the phoneme
2) The Start Time of the phoneme, in seconds
3) The End Time of the phoneme, in seconds
4) A human-readable hint of phoneme, useful for debugging
5) weight for this phoneme
6) in falloff for this phoneme
7) out falloff for this phoneme
8) shape weight for this phoneme
9) shape in falloff for this phoneme
10) shape out falloff for this phoneme
11) blend start scale factor
12) blend end scale factor
13) phoneme variation
Parameter | Type | Description |
---|---|---|
SpeechClip | String | The Speech Clip from the animation mixer |
phonemes = GetPhonemesFromSpeechClip ("Face.Mixer.Phoneme_Speech.SpeechAction_Clip") LogMessage "phoneme data" for i = 0 to UBound( phonemes ) LogMessage "IPA # " & phonemes(i, 0) & "(" & phonemes(i, 3) & ")" & " Start (sec)" & phonemes(i, 1) & " End (sec)" & phonemes(i, 2) next |