Class

SpielUtterance

since: 1.0

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.

Available since: 1.0

Ancestors

Constructors

spiel_utterance_new

Creates a new SpielUtterance.

since: 1.0

Instance methods

spiel_utterance_get_is_ssml

Gets whether the current utterance an SSML snippet.

since: 1.0

spiel_utterance_get_language

Gets the language used in this utterance.

since: 1.0

spiel_utterance_get_pitch

Gets the pitch used in this utterance.

since: 1.0

spiel_utterance_get_rate

Gets the rate used in this utterance.

since: 1.0

spiel_utterance_get_text

Gets the text spoken in this utterance.

since: 1.0

spiel_utterance_get_voice

Gets the voice used in this utterance.

since: 1.0

spiel_utterance_get_volume

Gets the volume used in this utterance.

since: 1.0

spiel_utterance_set_is_ssml

Indicates whether this utterance should be interpreted as SSML.

since: 1.0

spiel_utterance_set_language

Sets the language of this utterance.

since: 1.0

spiel_utterance_set_pitch

Sets a pitch on this utterance.

since: 1.0

spiel_utterance_set_rate

Sets a rate on this utterance.

since: 1.0

spiel_utterance_set_text

Sets the text to be spoken by this utterance.

since: 1.0

spiel_utterance_set_voice

Sets a voice on this utterance.

since: 1.0

spiel_utterance_set_volume

Sets a volume on this utterance.

since: 1.0

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.

since: 1.0

Spiel.Utterance:language

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

since: 1.0

Spiel.Utterance:pitch

The pitch at which the utterance will be spoken.

since: 1.0

Spiel.Utterance:rate

The speed at which the utterance will be spoken.

since: 1.0

Spiel.Utterance:text

The utterance text that will be spoken.

since: 1.0

Spiel.Utterance:voice

The voice with which the utterance will be spoken.

since: 1.0

Spiel.Utterance:volume

The volume at which the utterance will be spoken.

since: 1.0

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.