---
title: AVSpeechSynthesisProviderVoice
framework: avfaudio
role: symbol
role_heading: Class
path: avfaudio/avspeechsynthesisprovidervoice
---

# AVSpeechSynthesisProviderVoice

An object that represents a voice that an audio unit provides to its host.

## Declaration

```swift
class AVSpeechSynthesisProviderVoice
```

## Overview

Overview This is a voice that an AVSpeechSynthesisProviderAudioUnit provides to the system, distinct from AVSpeechSynthesisVoice. Use speechVoices to access the underlying AVSpeechSynthesisVoice in the voice quality AVSpeechSynthesisVoiceQuality.enhanced.

## Topics

### Creating a voice

- [init(name:identifier:primaryLanguages:supportedLanguages:)](avfaudio/avspeechsynthesisprovidervoice/init(name:identifier:primarylanguages:supportedlanguages:).md)

### Inspecting a voice

- [age](avfaudio/avspeechsynthesisprovidervoice/age.md)
- [gender](avfaudio/avspeechsynthesisprovidervoice/gender.md)
- [AVSpeechSynthesisVoiceGender](avfaudio/avspeechsynthesisvoicegender.md)
- [identifier](avfaudio/avspeechsynthesisprovidervoice/identifier.md)
- [name](avfaudio/avspeechsynthesisprovidervoice/name.md)
- [primaryLanguages](avfaudio/avspeechsynthesisprovidervoice/primarylanguages.md)
- [supportedLanguages](avfaudio/avspeechsynthesisprovidervoice/supportedlanguages.md)
- [version](avfaudio/avspeechsynthesisprovidervoice/version.md)
- [voiceSize](avfaudio/avspeechsynthesisprovidervoice/voicesize.md)

### Updating a voice

- [updateSpeechVoices()](avfaudio/avspeechsynthesisprovidervoice/updatespeechvoices().md)

### Initializers

- [init(coder:)](avfaudio/avspeechsynthesisprovidervoice/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

### Getting and setting voices

- [speechVoices](avfaudio/avspeechsynthesisprovideraudiounit/speechvoices.md)
