Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSSpeechSynthesizerMBS class.

NSSpeechSynthesizerMBS.IsSpeaking as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Speech MBS MacCocoa Plugin 6.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Indicates whether the receiver is currently generating synthesized speech.

true when the receiver is generating synthesized speech, false otherwise.
(Read only property)

NSSpeechSynthesizerMBS.rate as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Speech MBS MacCocoa Plugin 7.7 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The current rate of the speech.
Example
dim s as NSSpeechSynthesizerMBS
s=new NSSpeechSynthesizerMBS
MsgBox str(s.rate)
// shows e.g. "160"

Mac OS X 10.5 only.
The range of supported rates is not predefined by the Speech Synthesis framework; but the synthesizer may only respond to a limited range of speech rates. Average human speech occurs at a rate of 180 to 220 words per minute.
(Read and Write property)

NSSpeechSynthesizerMBS.UsesFeedbackWindow as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Speech MBS MacCocoa Plugin 6.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Indicates whether the receiver uses the speech feedback window.

(Read and Write property)

Some examples using this property:

NSSpeechSynthesizerMBS.Voice as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Speech MBS MacCocoa Plugin 6.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The current voice.
Example
dim s as new NSSpeechSynthesizerMBS
MsgBox s.voice
// shows e.g. "com.apple.speech.synthesis.voice.Zarvox"

(Read and Write property)

NSSpeechSynthesizerMBS.volume as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Speech MBS MacCocoa Plugin 7.7 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The volume of the speech.
Example
dim s as new NSSpeechSynthesizerMBS
MsgBox str(s.volume)
// shows e.g. 1

No sound is zero, full sound one.
Mac OS X 10.5 only.

Volumes are expressed in floating-point units ranging from 0.0 through 1.0. A value of 0.0 corresponds to silence, and a value of 1.0 corresponds to the maximum possible volume. Volume units lie on a scale that is linear with amplitude or voltage. A doubling of perceived loudness corresponds to a doubling of the volume.

Setting a value outside this range is undefined.
(Read and Write property)

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


The biggest plugin in space...