Platforms to show: All Mac Windows Linux Cross-Platform

AVSpeechSynthesisVoiceMBS class   New in 24.1

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Speech MBS AVFoundation Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
A distinct voice for use in speech synthesis.

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.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Gender

Constant Value Description
SpeechSynthesisVoiceGenderFemale 2 The female voice option.
SpeechSynthesisVoiceGenderMale 1 The male voice option.
SpeechSynthesisVoiceGenderUnspecified 0 The nonspecific gender option.

Quality

Constant Value Description
SpeechSynthesisVoiceQualityDefault 1 A basic quality voice that’s available on the device by default.
SpeechSynthesisVoiceQualityEnhanced 2 An enhanced quality voice that you must download to use.
SpeechSynthesisVoiceQualityPremium 3 A premium quality voice that you must download to use.

Voice Traits

Constant Value Description
SpeechSynthesisVoiceTraitIsNoveltyVoice 1 The trait that indicates a voice is a novelty voice.
An example of a novelty voice is a character’s voice in a game.
SpeechSynthesisVoiceTraitIsPersonalVoice 2 The trait that indicates a voice is a personal voice.
A user generates and owns a personal voice.
SpeechSynthesisVoiceTraitNone 0 The trait that indicates a voice is a regular voice.

This class has no sub classes.

Some properties using for this class:

Blog Entries


The items on this page are in the following plugins: MBS AVFoundation Plugin.


AVSpeechSynthesisMarkerMBS   -   AVSpeechSynthesizerMBS


The biggest plugin in space...