Instance Method

setVoice:

Sets the receiver’s current voice.

Declaration

- (BOOL)setVoice:(NSSpeechSynthesizerVoiceName)voice;

Parameters

voiceIdentifier

Identifier of the voice to set at the receiver’s current voice. When nil, the receiver sets the default voice as its current voice.

Return Value

YES when the receiver is not currently synthesizing speech and the current voice is set successfully, NO otherwise.

See Also

Configuring Speech Synthesizers

usesFeedbackWindow

Indicates whether the receiver uses the speech feedback window.

- voice

Returns the identifier of the receiver’s current voice.

rate

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

volume

The synthesizer’s speaking volume.