Instance Property

volume

The volume used when speaking the utterance.

Declaration

var volume: Float { get set }

Discussion

Allowed values are in the range from 0.0 (silent) to 1.0 (loudest). The default volume is 1.0.

See Also

Configuring Utterance Speech

var pitchMultiplier: Float

The baseline pitch at which the utterance will be spoken.

var postUtteranceDelay: TimeInterval

The amount of time a speech synthesizer will wait after the utterance is spoken before handling the next queued utterance.

var preUtteranceDelay: TimeInterval

The amount of time a speech synthesizer will wait before actually speaking the utterance upon beginning to handle it.

var rate: Float

The rate at which the utterance will be spoken.

var voice: AVSpeechSynthesisVoice?

The voice used to speak the utterance.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software