<!--
{
  "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/AVSpeechSynthesisMarker/init(phonemeString:atByteSampleOffset:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "AVFAudio"
    ],
    "preciseIdentifier" : "c:objc(cs)AVSpeechSynthesisMarker(im)initWithPhonemeString:atByteSampleOffset:"
  },
  "title" : "init(phonemeString:atByteSampleOffset:)"
}
-->

# init(phonemeString:atByteSampleOffset:)

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

```
init(phonemeString phoneme: String, atByteSampleOffset byteSampleOffset: Int)
```

## Parameters

`phoneme`

A string that represents a distinct sound.

`byteSampleOffset`

The byte offset into the audio buffer.

## 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)