---
title: "TextToPhonemes(_:_:_:_:_:)"
framework: Application Services
role: symbol
role_heading: Function
platforms: [Mac Catalyst 16.0+, xcode 14.0+]
path: applicationservices/4030024-texttophonemes
---

# TextToPhonemes(_:_:_:_:_:)

## Declaration

```swift
func TextToPhonemes(_ chan: SpeechChannel, _ textBuf: UnsafeRawPointer, _ textBytes: UInt, _ phonemeBuf: Handle, _ phonemeBytes: UnsafeMutablePointer<Int>) -> OSErr
```
