<!--
{
  "availability" : [
    "macOS: 10.3.0 - 14.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSSpeechSynthesizerDelegate",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(pl)NSSpeechSynthesizerDelegate"
  },
  "title" : "NSSpeechSynthesizerDelegate"
}
-->

# NSSpeechSynthesizerDelegate

A set of optional methods implemented by delegates of [`NSSpeechSynthesizer`](/documentation/AppKit/NSSpeechSynthesizer) objects.

```
protocol NSSpeechSynthesizerDelegate : NSObjectProtocol
```

## Topics

### Synthesizing Speech

[`speechSynthesizer(_:willSpeakWord:of:)`](/documentation/AppKit/NSSpeechSynthesizerDelegate/speechSynthesizer(_:willSpeakWord:of:))

Sent just before a synthesized word is spoken through the sound output device.

[`speechSynthesizer(_:willSpeakPhoneme:)`](/documentation/AppKit/NSSpeechSynthesizerDelegate/speechSynthesizer(_:willSpeakPhoneme:))

Sent just before a synthesized phoneme is spoken through the sound output device.

[`speechSynthesizer(_:didEncounterErrorAt:of:message:)`](/documentation/AppKit/NSSpeechSynthesizerDelegate/speechSynthesizer(_:didEncounterErrorAt:of:message:))

Sent to the delegate when a speech synthesizer encounters an error in text being synthesized.

[`speechSynthesizer(_:didEncounterSyncMessage:)`](/documentation/AppKit/NSSpeechSynthesizerDelegate/speechSynthesizer(_:didEncounterSyncMessage:))

Sent to the delegate when a speech synthesizer encounters a synchronization error.

[`speechSynthesizer(_:didFinishSpeaking:)`](/documentation/AppKit/NSSpeechSynthesizerDelegate/speechSynthesizer(_:didFinishSpeaking:))

Sent when an [`NSSpeechSynthesizer`](/documentation/AppKit/NSSpeechSynthesizer) object finishes speaking through the sound output device.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)