Contents

inputMode

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

Declaration

static let inputMode: NSSpeechSynthesizer.SpeechPropertyKey

Discussion

A string 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 in phoneme-processing mode, a text string is interpreted to be a series of characters representing various phonemes and prosodic controls. Some synthesizers might support additional input-processing modes and define constants for these modes.

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

See Also

Speech Property Keys