AVSpeechSynthesisVoice
A distinct voice for use in speech synthesis.
Declaration
class AVSpeechSynthesisVoiceOverview
The primary factors that distinguish a voice in speech synthesis are language, locale, and quality. Create an instance of AVSpeechSynthesisVoice to select a voice that’s appropriate for the text and the language, and set it as the value of the voice property on an AVSpeechUtterance instance. The voice may optionally reflect a local variant of the language, such as Australian or South African English. For a complete list of supported languages, see Languages Supported by VoiceOver.
Topics
Obtaining voices
Inspecting voices
identifiernamequalitygendervoiceTraitsaudioFileSettingsAVSpeechSynthesisVoiceQualityAVSpeechSynthesisVoiceGenderAVSpeechSynthesisVoice.Traits