---
title: NSSpeechSynthesizer.VoiceAttributeKey
framework: appkit
role: symbol
role_heading: Structure
path: appkit/nsspeechsynthesizer/voiceattributekey
---

# NSSpeechSynthesizer.VoiceAttributeKey

The following constants are keys for the dictionary returned by attributes(forVoice:).

## Declaration

```swift
struct VoiceAttributeKey
```

## Overview

Overview The following are the identifiers of the macOS system voices (defined in /System/Library/Speech/Voices): com.apple.speech.synthesis.voice.Agnes com.apple.speech.synthesis.voice.Albert com.apple.speech.synthesis.voice.Alex com.apple.speech.synthesis.voice.BadNews com.apple.speech.synthesis.voice.Bahh com.apple.speech.synthesis.voice.Bells com.apple.speech.synthesis.voice.Boing com.apple.speech.synthesis.voice.Bruce com.apple.speech.synthesis.voice.Bubbles com.apple.speech.synthesis.voice.Cellos com.apple.speech.synthesis.voice.Deranged com.apple.speech.synthesis.voice.Fred com.apple.speech.synthesis.voice.GoodNews com.apple.speech.synthesis.voice.Hysterical com.apple.speech.synthesis.voice.Junior com.apple.speech.synthesis.voice.Kathy com.apple.speech.synthesis.voice.Organ com.apple.speech.synthesis.voice.Princess com.apple.speech.synthesis.voice.Ralph com.apple.speech.synthesis.voice.Trinoids com.apple.speech.synthesis.voice.Vicki com.apple.speech.synthesis.voice.Victoria com.apple.speech.synthesis.voice.Whisper com.apple.speech.synthesis.voice.Zarvox

## Topics

### Voice Attribute Keys

- [identifier](appkit/nsspeechsynthesizer/voiceattributekey/identifier.md)
- [name](appkit/nsspeechsynthesizer/voiceattributekey/name.md)
- [age](appkit/nsspeechsynthesizer/voiceattributekey/age.md)
- [gender](appkit/nsspeechsynthesizer/voiceattributekey/gender.md)
- [demoText](appkit/nsspeechsynthesizer/voiceattributekey/demotext.md)
- [localeIdentifier](appkit/nsspeechsynthesizer/voiceattributekey/localeidentifier.md)
- [supportedCharacters](appkit/nsspeechsynthesizer/voiceattributekey/supportedcharacters.md)
- [individuallySpokenCharacters](appkit/nsspeechsynthesizer/voiceattributekey/individuallyspokencharacters.md)

### Initializers

- [init(rawValue:)](appkit/nsspeechsynthesizer/voiceattributekey/init(rawvalue:).md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Getting Speech Synthesizer Information

- [availableVoices](appkit/nsspeechsynthesizer/availablevoices.md)
- [attributes(forVoice:)](appkit/nsspeechsynthesizer/attributes(forvoice:).md)
- [defaultVoice](appkit/nsspeechsynthesizer/defaultvoice.md)
- [NSSpeechSynthesizer.VoiceName](appkit/nsspeechsynthesizer/voicename.md)
