Pauses synthesis in progress at a given boundary.
- macOS 10.5+
Boundary at which to pause speech. The supported bound types are listed in
Pass the constant
NSSpeech to pause immediately, even in the middle of a word. Pass
NSSpeech to pause speech at the end of the current word or sentence, respectively.
You can determine whether your application has paused a synthesizer's speech output by obtaining the
status property through the
object(for method. While a synthesizer is paused, the speech status information indicates that
output are both
If the end of the string being spoken is reached before the specified pause point, speech output pauses at the end of the string.