<!--
{
  "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/AVSpeechSynthesisProviderVoice",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AVFAudio"
    ],
    "preciseIdentifier" : "c:objc(cs)AVSpeechSynthesisProviderVoice"
  },
  "title" : "AVSpeechSynthesisProviderVoice"
}
-->

# AVSpeechSynthesisProviderVoice

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

```
class AVSpeechSynthesisProviderVoice
```

## Overview

This is a voice that an [`AVSpeechSynthesisProviderAudioUnit`](/documentation/AVFAudio/AVSpeechSynthesisProviderAudioUnit) provides to the system, distinct from [`AVSpeechSynthesisVoice`](/documentation/AVFAudio/AVSpeechSynthesisVoice). Use [`speechVoices`](/documentation/AVFAudio/AVSpeechSynthesisProviderAudioUnit/speechVoices) to access the underlying [`AVSpeechSynthesisVoice`](/documentation/AVFAudio/AVSpeechSynthesisVoice) in the voice quality [`AVSpeechSynthesisVoiceQuality.enhanced`](/documentation/AVFAudio/AVSpeechSynthesisVoiceQuality/enhanced).

## Topics

### Creating a voice

[`init(name:identifier:primaryLanguages:supportedLanguages:)`](/documentation/AVFAudio/AVSpeechSynthesisProviderVoice/init(name:identifier:primaryLanguages:supportedLanguages:))

Creates a voice with a name, an identifier, and language information.

### Inspecting a voice

[`age`](/documentation/AVFAudio/AVSpeechSynthesisProviderVoice/age)

The age of the voice, in years.

[`gender`](/documentation/AVFAudio/AVSpeechSynthesisProviderVoice/gender)

The gender of the voice.

[`AVSpeechSynthesisVoiceGender`](/documentation/AVFAudio/AVSpeechSynthesisVoiceGender)

The gender for a voice.

[`identifier`](/documentation/AVFAudio/AVSpeechSynthesisProviderVoice/identifier)

The unique identifier for the voice.

[`name`](/documentation/AVFAudio/AVSpeechSynthesisProviderVoice/name)

The localized name of the voice.

[`primaryLanguages`](/documentation/AVFAudio/AVSpeechSynthesisProviderVoice/primaryLanguages)

A list of BCP 47 codes that identify the languages the synthesizer uses.

[`supportedLanguages`](/documentation/AVFAudio/AVSpeechSynthesisProviderVoice/supportedLanguages)

A list of BCP 47 codes that identify the languages a voice supports.

[`version`](/documentation/AVFAudio/AVSpeechSynthesisProviderVoice/version)

The version of the voice.

[`voiceSize`](/documentation/AVFAudio/AVSpeechSynthesisProviderVoice/voiceSize)

The size of the voice package on disk, in bytes.

### Updating a voice

[`updateSpeechVoices()`](/documentation/AVFAudio/AVSpeechSynthesisProviderVoice/updateSpeechVoices())

Updates the voices your app provides to the system.



---

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)