Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSSpeechSynthesizerMBS class.
NSSpeechSynthesizerMBS.attributesForVoice(voice as String) as NSVoiceMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | Speech | MBS MacCocoa Plugin | 7.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Some examples using this method:
NSSpeechSynthesizerMBS.availableVoice(index as Integer) as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | Speech | MBS MacCocoa Plugin | 7.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
The available voices can be listed using this function.
Index is from 0 to count-1.
Some examples using this method:
NSSpeechSynthesizerMBS.availableVoices as String()
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | Speech | MBS MacCocoa Plugin | 10.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Same as availableVoice() and availableVoicesCount, but this function returns an array which is very useful for for-each-loops.
NSSpeechSynthesizerMBS.availableVoicesCount as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | Speech | MBS MacCocoa Plugin | 7.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Some examples using this method:
NSSpeechSynthesizerMBS.defaultVoice as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | Speech | MBS MacCocoa Plugin | 6.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
NSSpeechSynthesizerMBS.isAnyApplicationSpeaking as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | Speech | MBS MacCocoa Plugin | 6.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Some examples using this method:
The items on this page are in the following plugins: MBS MacCocoa Plugin.