Class YSKOnlineVocalizerSettings

The class specifies settings for online speech synthesis and text-to-speech conversion.

The language of the text to synthesize is a mandatory setting for the YSKOnlineVocalizer class object. Other settings can be specified depending on the task.

Instance Methods

-initWithLanguage:

Initializes an object of the YSKOnlineVocalizerSettings class.

Properties

autoPlaying

Flag of speech playback (after synthesis) through the embedded player.

emotion

Emotions of synthesized voice.

language

Language of synthesized speech.

serverRequestVolume

The volume that will be used at speech synthesis (not to be confused with the playback volume).

soundFormat

Format of synthesized speech.

soundQuality

Quality of synthesized speech.

speed

Speed of synthesized speech.

voice

Voice used for synthesized speech.

Property Detail

autoPlaying

(assign, readwrite) BOOL autoPlaying

Flag of speech playback (after synthesis) through the embedded player.

Acceptable values: YES — speech will be played after synthesis; NO — speech will not be played. Default value: YES.

emotion

(copy, readwrite) YSKEmotion * emotion

Emotions of synthesized voice.

Default value: neutral (neutral method).

language

(copy, readonly) YSKLanguage * language

Language of synthesized speech.

Required parameter of the YSKOnlineVocalizer class object settings.

serverRequestVolume

(assign, readwrite) CGFloat serverRequestVolume

The volume that will be used at speech synthesis (not to be confused with the playback volume).

Default value: 1 (medium volume).

soundFormat

(copy, readwrite) YSKSoundFormat * soundFormat

Format of synthesized speech.

Default value: opus (opus method).

soundQuality

(copy, readwrite) YSKSoundQuality * soundQuality

Quality of synthesized speech.

Default value: ultrahigh (ultrahigh method).

speed

(assign, readwrite) CGFloat speed

Speed of synthesized speech.

Default value: 1.

voice

(copy, readwrite) YSKVoice * voice

Voice used for synthesized speech.

Default value: jane (jane method).