---
title: speechVoices()
framework: avfaudio
role: symbol
role_heading: Type Method
path: avfaudio/avspeechsynthesisvoice/speechvoices()
---

# speechVoices()

Retrieves all available voices on the device.

## Declaration

```swift
class func speechVoices() -> [AVSpeechSynthesisVoice]
```

## Return Value

Return Value An array of voices.

## Discussion

Discussion Use the language property to identify each voice by its language and locale.

## See Also

### Obtaining voices

- [init(identifier:)](avfaudio/avspeechsynthesisvoice/init(identifier:).md)
- [init(language:)](avfaudio/avspeechsynthesisvoice/init(language:).md)
- [AVSpeechSynthesisVoiceIdentifierAlex](avfaudio/avspeechsynthesisvoiceidentifieralex.md)
