Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSSpeechSynthesizerMBS class.

Previous items

NSSpeechSynthesizerMBS.NSSpeechVolumeProperty as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Speech MBS MacCocoa Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
One of the constants used with setObjectForProperty and objectForProperty to get or set the characteristics of a synthesizer.
Example
dim s as new NSSpeechSynthesizerMBS
dim e as NSErrorMBS
dim value as Double = s.objectForProperty(s.NSSpeechVolumeProperty, e)
MsgBox str(value)

Get or set the speech volume for a synthesizer. A Number that specifies the synthesizer's speech volume.
Volumes are expressed in floating-point values 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.
Available in OS X v10.5 and later.

You may prefer to simply use the volume property.

Previous items

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


The biggest plugin in space...