Instance Method

voice()

Returns the identifier of the receiver’s current voice.

Declaration

func voice() -> NSSpeechSynthesizer.VoiceName?

Return Value

Identifier of the receiver’s current voice.

See Also

Configuring Speech Synthesizers

var usesFeedbackWindow: Bool

Indicates whether the receiver uses the speech feedback window.

func setVoice(NSSpeechSynthesizer.VoiceName?) -> Bool

Sets the receiver’s current voice.

var rate: Float

The synthesizer’s speaking rate (words per minute).

var volume: Float

The synthesizer’s speaking volume.