Play, Stop and Restart Speech

A simple example demonstrating basic speech controls

Speech Functions:
replay()
stopSpeech()

Animation Control functions:
freezeToggle()

Speech Functions:
Replay:
replay() - Play or replay the Scene's audio. If no audio has yet been played, the Scene's assigned audio is played (if any).
Otherwise - the most recently spoken audio is repeated.

Stop Speech:
stopSpeech() - stops the currently playing speech.

Animation Control Functions:
Freeze Toggle:
freezeToggle() - toggles between pause and play during playback. freezeToggle() will also freeze a Character that is not speaking. Calls for speech will unfreeze a Character.

© 2003 Oddcast Inc. All Right Reserved