AudioTTS
Text-To-Speech (TTS) node. Transforms text to audio data by using a synthetic computer voice. Besides creating the audio data, this node can also provide weights to morph between different geometries. This can be used to animate the lips of avatars.
Inheritance
Code
XML encoding
<AudioTTS text='' visemeKey='' weightValue='' visemeDurationScale='0.5' autoSilentIndex='-1' enabled='TRUE' description='' loop='FALSE' pitch='1.0' startTime='0' stopTime='0' pauseTime='0' resumeTime='0' triggerName='Sound' logFeature='' />
Classic encoding
AudioTTS { text "" visemeKey [""] weightValue [] visemeDurationScale 0.5 autoSilentIndex -1 enabled TRUE description "" loop FALSE pitch 1.0 startTime 0 stopTime 0 pauseTime 0 resumeTime 0 triggerName "Sound" logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
description | SFString | inputOutput | text description to be displayed for action of this node. Hint: many XML tools substitute XML character references automatically if needed. | |||
loop | SFBool | inputOutput | FALSE | repeat indefinitely when loop=true, repeat only once when loop=false. | ||
pitch | SFFloat | inputOutput | 1.0 | Multiplier for the rate at which sampled sound is played. changing pitch also changes playback speed. | ||
startTime | SFTime | inputOutput | 0 | Absolute time: number of seconds since Jan 1, 1970, 00:00:00 GMT. Hint: usually receives a ROUTEd time value. | ||
stopTime | SFTime | inputOutput | 0 | Absolute time: number of seconds since Jan 1, 1970, 00:00:00 GMT. Hint: usually receives a ROUTEd time value. | ||
pauseTime | SFTime | inputOutput | 0 | When time now >= pauseTime, isPaused becomes true and TimeSensor becomes paused. Absolute time: number of seconds since Jan 1, 1970, 00:00:00 GMT. Hint: usually receives a ROUTEd time value. | ||
resumeTime | SFTime | inputOutput | 0 | When resumeTime becomes less than time now, isPaused becomes false and TimeSensor becomes inactive. Absolute time: number of seconds since Jan 1, 1970, 00:00:00 GMT. Hint: usually receives a ROUTEd time value. | ||
elapsedTime | SFTime | outputOnly | Current elapsed time since TimeSensor activated/running, cumulative in seconds, and not counting any paused time. | |||
isPaused | SFBool | outputOnly | isPaused true/false events are sent when TimeSensor is paused/resumed. | |||
duration_changed | SFTime | outputOnly | duration_changed is length of time in seconds for one cycle of audio. | |||
isActive | SFBool | outputOnly | isActive true/false events are sent when playback starts/stops. | |||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element |