Important: Inside Macintosh: Sound is deprecated as of Mac OS X v10.5. For new audio development in Mac OS X, use Core Audio. See the Audio page in the ADC Reference Library.
Starting, Stopping, and Pausing Speech
You can use theSpeakString
function to generate speech from strings of fewer than 256 characters. TheSpeakText
function also generates speech, but through a speech channel through which you can exert control over the generated speech. TheSpeakBuffer
function includes all the capabilities ofSpeakText
and allows you to set certain flags that control speech behavior.To stop speech, use the
StopSpeech
function or theStopSpeechAt
function. The latter provides control over when speech is stopped. To pause and later resume speech, use thePauseSpeechAt
andContinueSpeech
functions.
Subtopics
- SpeakString
- SpeakText
- SpeakBuffer
- StopSpeech
- StopSpeechAt
- PauseSpeechAt
- ContinueSpeech