<!--
{
  "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

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

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

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

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

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

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

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

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

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

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

[`-  initWithBookmarkName: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.

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

Constants that describe the type of text.

## Relationships

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

### Conforms To

[`NSCoding`](/documentation/Foundation/NSCoding)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`CVarArg`](/documentation/Swift/CVarArg)

---

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)