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

AVSpeechUtteranceMBS.speechUtteranceWithAttributedString(s as NSAttributedStringMBS) as AVSpeechUtteranceMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Speech MBS AVFoundation Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates an utterance with the attributed text string that you specify for the speech synthesizer to speak.

AVSpeechUtteranceMBS.speechUtteranceWithSSMLRepresentation(s as string) as AVSpeechUtteranceMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Speech MBS AVFoundation Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns a new speech utterance with an Speech Synthesis Markup Language (SSML) string.

string: A string to speak that contains valid SSML markup. The initializer returns nil if you pass an invalid SSML string.

Returns a new speech utterance, or nil if the SSML string is invalid.

If using SSML to request voices that fall under certain attributes, the system may split a single utterance into multiple parts and send each to an appropriate synthesizer.
If no voice matches the properties, the utterance uses the voice set in its voice property. If you don’t specify a voice, the system uses its default voice.

Note
Speech utterance properties that affect the prosody of a voice, such as its rate and pitchMultiplier, don’t apply to an utterance that uses an SSML representation.

AVSpeechUtteranceMBS.speechUtteranceWithString(s as string) as AVSpeechUtteranceMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Speech MBS AVFoundation Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates an utterance with the text string that you specify for the speech synthesizer to speak.

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


💬 Ask a question or report a problem