---
title: AVSpeechSynthesisMarker
framework: avfaudio
role: symbol
role_heading: Class
path: avfaudio/avspeechsynthesismarker
---

# AVSpeechSynthesisMarker

An object that contains information about the synthesized audio.

## Declaration

```swift
class AVSpeechSynthesisMarker
```

## Topics

### Creating a marker

- [init(markerType:forTextRange:atByteSampleOffset:)](avfaudio/avspeechsynthesismarker/init(markertype:fortextrange:atbytesampleoffset:).md)
- [init(wordRange:atByteSampleOffset:)](avfaudio/avspeechsynthesismarker/init(wordrange:atbytesampleoffset:).md)
- [init(sentenceRange:atByteSampleOffset:)](avfaudio/avspeechsynthesismarker/init(sentencerange:atbytesampleoffset:).md)
- [init(paragraphRange:atByteSampleOffset:)](avfaudio/avspeechsynthesismarker/init(paragraphrange:atbytesampleoffset:).md)
- [init(phonemeString:atByteSampleOffset:)](avfaudio/avspeechsynthesismarker/init(phonemestring:atbytesampleoffset:).md)
- [init(bookmarkName:atByteSampleOffset:)](avfaudio/avspeechsynthesismarker/init(bookmarkname:atbytesampleoffset:).md)

### Inspecting a marker

- [mark](avfaudio/avspeechsynthesismarker/mark-swift.property.md)
- [bookmarkName](avfaudio/avspeechsynthesismarker/bookmarkname.md)
- [phoneme](avfaudio/avspeechsynthesismarker/phoneme.md)
- [textRange](avfaudio/avspeechsynthesismarker/textrange.md)
- [byteSampleOffset](avfaudio/avspeechsynthesismarker/bytesampleoffset.md)
- [AVSpeechSynthesisMarker.Mark](avfaudio/avspeechsynthesismarker/mark-swift.enum.md)

### Initializers

- [init(coder:)](avfaudio/avspeechsynthesismarker/init(coder:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Supplying metadata

- [AVSpeechSynthesisProviderOutputBlock](avfaudio/avspeechsynthesisprovideroutputblock.md)
- [speechSynthesisOutputMetadataBlock](avfaudio/avspeechsynthesisprovideraudiounit/speechsynthesisoutputmetadatablock.md)
