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 theSpeakStringfunction to generate speech from strings of fewer than 256 characters. TheSpeakTextfunction also generates speech, but through a speech channel through which you can exert control over the generated speech. TheSpeakBufferfunction includes all the capabilities ofSpeakTextand allows you to set certain flags that control speech behavior.To stop speech, use the
StopSpeechfunction or theStopSpeechAtfunction. The latter provides control over when speech is stopped. To pause and later resume speech, use thePauseSpeechAtandContinueSpeechfunctions.
Subtopics
- SpeakString
- SpeakText
- SpeakBuffer
- StopSpeech
- StopSpeechAt
- PauseSpeechAt
- ContinueSpeech