<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFAudio",
  "identifier" : "/documentation/AVFAudio/AVSpeechSynthesizerDelegate/speechSynthesizer(_:willSpeak:utterance:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFAudio"
    ],
    "preciseIdentifier" : "c:objc(pl)AVSpeechSynthesizerDelegate(im)speechSynthesizer:willSpeakMarker:utterance:"
  },
  "title" : "speechSynthesizer(_:willSpeak:utterance:)"
}
-->

# speechSynthesizer(_:willSpeak:utterance:)

Tells the delegate when the synthesizer is about to speak a marker of an utterance’s text.

```
optional func speechSynthesizer(_ synthesizer: AVSpeechSynthesizer, willSpeak marker: AVSpeechSynthesisMarker, utterance: AVSpeechUtterance)
```

## Parameters

`synthesizer`

The speech synthesizer that’s about to speak a marker of an utterance.

`marker`

The synthesized audio that the speech synthesizer is about to speak.

`utterance`

The utterance that the speech synthesizer pauses speaking.

## Discussion

---

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)