Class

SpielUtterance

Description [src]

final class Spiel.Utterance : GObject.Object {
  /* No available fields */
}

Represents an utterance to be spoken by a SpielSpeaker.

An utterance consists of the text to be spoken and other properties that affect the speech, like rate, pitch or voice used.

Ancestors

Constructors

spiel_utterance_new

Creates a new SpielUtterance.

Instance methods

spiel_utterance_get_is_ssml

Is the current utterance an SSML snippet.

spiel_utterance_get_language

Fetches the language used in this utterance.

spiel_utterance_get_pitch

Fetches the pitch used in this utterance.

spiel_utterance_get_rate

Fetches the rate used in this utterance.

spiel_utterance_get_text

Fetches the text spoken in this utterance.

spiel_utterance_get_voice

Fetches the voice used in this utterance.

spiel_utterance_get_volume

Fetches the volume used in this utterance.

spiel_utterance_set_is_ssml

Indicates whether this utterance should be interpreted as SSML.

spiel_utterance_set_language

Sets the language of this utterance.

spiel_utterance_set_pitch

Sets a pitch on this utterance.

spiel_utterance_set_rate

Sets a rate on this utterance.

spiel_utterance_set_text

Sets the text to be spoken by this utterance.

spiel_utterance_set_voice

Sets a voice on this utterance.

spiel_utterance_set_volume

Sets a volume on this utterance.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Spiel.Utterance:is-ssml

Whether the utterance’s text should be interpreted as an SSML snippet.

Spiel.Utterance:language

The utterance language. If no voice is set this language will be used to select the best matching voice.

Spiel.Utterance:pitch

The pitch at which the utterance will be spoken.

Spiel.Utterance:rate

The speed at which the utterance will be spoken.

Spiel.Utterance:text

The utterance text that will be spoken.

Spiel.Utterance:voice

The voice with which the utterance will be spoken.

Spiel.Utterance:volume

The volume at which the utterance will be spoken.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct SpielUtteranceClass {
  GObjectClass parent_class;
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.