| playWave | waveob |
| waveob | a wave object handle returned by a wave read ( ... or other CSLUsh function that returns a "wave"). |
playWave plays the specified waveob on the current audio object (i.e., telephone, microphone, etc.).
no return (as of this writing)
Italicized words are indexed in the CSLUsh manual, and can be referenced there for more information.
( ...playing back a recorded utterance)
set recordedWave [record 5] # Record 5 seconds of speech and store it
# in a wave object named ``recordedWave''.
playWave $recordedWave # Play the recording on the current
# audio device.
Nuke $recordedWave # Remove the wave object from memory when
# it is no longer needed ( \ldots neglecting
# to do this step can cause memory leaks).