Platforms to show: All Mac Windows Linux Cross-Platform

AVSpeechUtteranceMBS class   New in 24.1

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Speech MBS AVFoundation Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes All
An object that encapsulates the text for speech synthesis and parameters that affect the speech.

An AVSpeechUtterance is the basic unit of speech synthesis.

To synthesize speech, create an AVSpeechUtterance instance with text you want a speech synthesizer to speak. Optionally, change the voice, pitchMultiplier, volume, rate, preUtteranceDelay, or postUtteranceDelay parameters for the utterance. Pass the utterance to an instance of AVSpeechSynthesizer to begin speech, or enqueue the utterance to speak later if the synthesizer is already speaking.

Split a body of text into multiple utterances if you want to apply different speech parameters. For example, you can emphasize a sentence by increasing the pitch and decreasing the rate of that utterance relative to others, or you can introduce pauses between sentences by putting each into an utterance with a leading or trailing delay.

Set and use the AVSpeechSynthesizerMBS events to receive notifications when the synthesizer starts or finishes speaking an utterance. Create an utterance for each meaningful unit in a body of text if you want to receive notifications as its speech progresses.

This class has no sub classes.

Some methods using this class:

Some events using this class:

Blog Entries


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


AVSpeechSynthesizerMBS   -   AVSynchronizedLayerMBS


The biggest plugin in space...