Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Speech | MBS AVFoundation Plugin | 24.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
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.
Constant | Value | Description |
---|---|---|
SpeechSynthesisVoiceGenderFemale | 2 |
The female voice option. |
SpeechSynthesisVoiceGenderMale | 1 |
The male voice option. |
SpeechSynthesisVoiceGenderUnspecified | 0 |
The nonspecific gender option. |
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. |
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.
The items on this page are in the following plugins: MBS AVFoundation Plugin.
AVSpeechSynthesisMarkerMBS - AVSpeechSynthesizerMBS