Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSVoiceMBS class.

NSVoiceMBS.Age as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Speech MBS MacCocoa Plugin 6.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The perceived age (in years) of the voice.

NSVoiceMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Speech MBS MacCocoa Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The private constructor.

NSVoiceMBS.Demotext as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Speech MBS MacCocoa Plugin 6.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
A demonstration string to speak.

Some examples using this method:

NSVoiceMBS.Gender as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Speech MBS MacCocoa Plugin 6.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The perceived gender of the voice.

May be either GenderNeuter ("VoiceGenderNeuter), GenderFemale ("VoiceGenderFemale"), or GenderMale ("VoiceGenderMale").

NSVoiceMBS.Identifier as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Speech MBS MacCocoa Plugin 6.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
A unique string identifying the voice. The identifiers of the system voices are listed below.

Identifiers of the Mac OS X system voices
com.apple.speech.synthesis.voice.Agnes
com.apple.speech.synthesis.voice.Albert
com.apple.speech.synthesis.voice.BadNews
com.apple.speech.synthesis.voice.Bahh
com.apple.speech.synthesis.voice.Bells
com.apple.speech.synthesis.voice.Boing
com.apple.speech.synthesis.voice.Bruce
com.apple.speech.synthesis.voice.Bubbles
com.apple.speech.synthesis.voice.Cellos
com.apple.speech.synthesis.voice.Deranged
com.apple.speech.synthesis.voice.Fred
com.apple.speech.synthesis.voice.GoodNews
com.apple.speech.synthesis.voice.Hysterical
com.apple.speech.synthesis.voice.Junior
com.apple.speech.synthesis.voice.Kathy
com.apple.speech.synthesis.voice.Organ
com.apple.speech.synthesis.voice.Princess
com.apple.speech.synthesis.voice.Ralph
com.apple.speech.synthesis.voice.Trinoids
com.apple.speech.synthesis.voice.Vicki
com.apple.speech.synthesis.voice.Victoria
com.apple.speech.synthesis.voice.Whisper
com.apple.speech.synthesis.voice.Zarvox

NSVoiceMBS.Language as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Speech MBS MacCocoa Plugin 6.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The language of the voice (currently US English only).

Language has been replaced by LocaleIdentifier in Mac OS X 10.5.

NSVoiceMBS.LocaleIdentifier as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Speech MBS MacCocoa Plugin 7.7 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The locale identifier.
Example
dim v as NSVoiceMBS
dim s as NSSpeechSynthesizerMBS
dim n as string

s=new NSSpeechSynthesizerMBS

n=s.voice
v=s.attributesForVoice(n)

MsgBox n+EndOfLine+v.LocaleIdentifier
// shows for example "en_US"

Mac OS X 10.5 only.

Language has been replaced by LocaleIdentifier in Mac OS X 10.5.

NSVoiceMBS.Name as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Speech MBS MacCocoa Plugin 6.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The name of the voice suitable for display.

NSVoiceMBS.Properties as Dictionary

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Speech MBS MacCocoa Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Returns dictionary with all the properties for this voice.

This dictionary may contain additional information if Apple adds more features in newer Mac OS X versions.

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


The biggest plugin in space...