AVSpeechSynthesisVoiceMBS properties

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

Back to AVSpeechSynthesisVoiceMBS class.

AVSpeechSynthesisVoiceMBS.audioFileSettings as Dictionary

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Speech MBS AVFoundation Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
A dictionary that contains audio file settings.

If you want to generate speech and save it as an audio file to share or play later, use this dictionary to create an AVAudioFile instance and pass it as the settings parameter.
You can determine the AVAudioCommonFormat and interleaved properties of a voice from this dictionary. The format of this dictionary matches the data that SpeechSynthesizerBuffer event provides for the same voice.
(Read only property)

AVSpeechSynthesisVoiceMBS.gender as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Speech MBS AVFoundation Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The gender for a voice.

(Read only property)

AVSpeechSynthesisVoiceMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Speech MBS AVFoundation Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The internal object reference.

(Read and Write property)

AVSpeechSynthesisVoiceMBS.identifier as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Speech MBS AVFoundation Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The unique identifier of a voice.

(Read only property)

AVSpeechSynthesisVoiceMBS.language as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Speech MBS AVFoundation Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
A BCP 47 code that contains the voice’s language and locale.

The language of a voice controls the conversion of text to spoken phonemes. For best results, ensure that the language of an utterance’s text matches the voice for the utterance. The locale of a voice reflects regional variations in pronunciation or accent. For example, a voice with a language code of en-US speaks English text with a North American accent, and a language code of en-AU speaks English text with an Australian accent.
(Read only property)

AVSpeechSynthesisVoiceMBS.name as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Speech MBS AVFoundation Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The name of a voice.

(Read only property)

AVSpeechSynthesisVoiceMBS.quality as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Speech MBS AVFoundation Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The speech quality of a voice.

(Read only property)

AVSpeechSynthesisVoiceMBS.voiceTraits as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Speech MBS AVFoundation Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The traits of a voice.

(Read only property)

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


💬 Ask a question or report a problem