Instance Method


Stops synthesis in progress at a given boundary.


- (void)stopSpeakingAtBoundary:(NSSpeechBoundary)boundary;



Boundary at which to stop speech. The supported bound types are listed in NSSpeechBoundary.


Pass the constant NSSpeechImmediateBoundary to stop immediately, even in the middle of a word. Pass NSSpeechWordBoundary or NSSpeechSentenceBoundary to stop speech at the end of the current word or sentence, respectively.

If the end of the string being spoken is reached before the specified stopping point, the synthesizer stops at the end of the string without generating an error.

See Also

Synthesizing Speech


Indicates whether the receiver is currently generating synthesized speech.

- startSpeakingString:

Begins speaking synthesized text through the system’s default sound output device.

- startSpeakingString:toURL:

Begins synthesizing text into a sound (AIFF) file.

- pauseSpeakingAtBoundary:

Pauses synthesis in progress at a given boundary.

- continueSpeaking

Resumes synthesis.

- stopSpeaking

Stops synthesis in progress.


These constants are used to indicate where speech should be stopped and paused. See pauseSpeakingAtBoundary: and stopSpeakingAtBoundary:.