<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFAudio",
  "identifier" : "/documentation/AVFAudio/AVSpeechSynthesisMarker",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AVFAudio"
    ],
    "preciseIdentifier" : "c:objc(cs)AVSpeechSynthesisMarker"
  },
  "title" : "AVSpeechSynthesisMarker"
}
-->

# AVSpeechSynthesisMarker

An object that contains information about the synthesized audio.

```
class AVSpeechSynthesisMarker
```

## Topics

### Creating a marker

[`init(markerType:forTextRange:atByteSampleOffset:)`](/documentation/AVFAudio/AVSpeechSynthesisMarker/init(markerType:forTextRange:atByteSampleOffset:))

Creates a marker with a type and location of the request’s text.

[`init(wordRange:atByteSampleOffset:)`](/documentation/AVFAudio/AVSpeechSynthesisMarker/init(wordRange:atByteSampleOffset:))

Creates a word marker with a range of the word and offset into the audio buffer.

[`init(sentenceRange:atByteSampleOffset:)`](/documentation/AVFAudio/AVSpeechSynthesisMarker/init(sentenceRange:atByteSampleOffset:))

Creates a sentence marker with a range of the sentence and offset into the audio buffer.

[`init(paragraphRange:atByteSampleOffset:)`](/documentation/AVFAudio/AVSpeechSynthesisMarker/init(paragraphRange:atByteSampleOffset:))

Creates a paragraph marker with a range of the paragraph and offset into the audio buffer.

[`init(phonemeString:atByteSampleOffset:)`](/documentation/AVFAudio/AVSpeechSynthesisMarker/init(phonemeString:atByteSampleOffset:))

Creates a phoneme marker with a range of the phoneme and offset into the audio buffer.

[`init(bookmarkName:atByteSampleOffset:)`](/documentation/AVFAudio/AVSpeechSynthesisMarker/init(bookmarkName:atByteSampleOffset:))

Creates a bookmark marker with a name and offset into the audio buffer.

### Inspecting a marker

[`mark`](/documentation/AVFAudio/AVSpeechSynthesisMarker/mark-swift.property)

The type that describes the text.

[`bookmarkName`](/documentation/AVFAudio/AVSpeechSynthesisMarker/bookmarkName)

A string that represents the name of a bookmark.

[`phoneme`](/documentation/AVFAudio/AVSpeechSynthesisMarker/phoneme)

A string that represents a distinct sound.

[`textRange`](/documentation/AVFAudio/AVSpeechSynthesisMarker/textRange)

The location and length of the request’s text.

[`byteSampleOffset`](/documentation/AVFAudio/AVSpeechSynthesisMarker/byteSampleOffset)

The byte offset into the audio buffer.

[`AVSpeechSynthesisMarker.Mark`](/documentation/AVFAudio/AVSpeechSynthesisMarker/Mark-swift.enum)

Constants that describe the type of text.



---

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)