Instance Property

voice

The voice used to speak the utterance.

Declaration

var voice: AVSpeechSynthesisVoice? { get set }

Discussion

The default value is nil, which causes the utterance to be spoken in the default voice.

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 volume: Float

The volume used when speaking the utterance.