next up previous contents index
Next: readCount Up: Appendix - CSLUrp Procedure Previous: playFile

playWave

    

Usage

playWave waveob

Parameters

waveob a wave object handle returned by a wave read ( ... or other CSLUsh function that returns a "wave").

Description

playWave plays the specified waveob on the current audio object (i.e., telephone, microphone, etc.).

Returns

no return (as of this writing)

See Also

Italicized words are indexed in the CSLUsh manual, and can be referenced there for more information.

Example

( ...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).


next up previous contents index
Next: readCount Up: Appendix - CSLUrp Procedure Previous: playFile

Ed Kaiser
Fri Sep 26 18:41:18 PDT 1997