Contents

characterMode

Get or set the synthesizer’s current text-processing mode.

Declaration

static let characterMode: NSSpeechSynthesizer.SpeechPropertyKey

Discussion

An NSString object that specifies whether the channel is currently in text input mode or phoneme input mode.The supported values are listed in NSSpeechSynthesizer.SpeechPropertyKey.Mode.

When the character-processing mode is normal, input characters are spoken as you would expect to hear them. When the mode is literal, each character is spoken literally, so that the word “cat” is spoken “C–A–T”.

This property is used with setObject(_:forProperty:) and object(forProperty:).

See Also

Speech Property Keys