NSSpeechSynthesizerMBS shared methods

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 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.


💬 Ask a question or report a problem