org.gtk.gespeaker | ||
---|---|---|
Prev | gespeaker dbus interfaces | Next |
Manage gespeaker through shell commands.
All DBus commands are sent with dbus-send utility from the dbus package.
To shorten typing the commands and to avoid repetitions the following variable is assumed:
It will be used this way:
bool org.gtk.gespeaker.espeak.is_playing() void org.gtk.gespeaker.espeak.pause() void org.gtk.gespeaker.espeak.play() void org.gtk.gespeaker.espeak.stop() |
Retrieve the application version number
Returns: | string "0.8" |
Read the temporary filename
Returns: | string "/tmp/gespeakerCLPQQ" |
Clear previous text
Add new text at the end
Add some other text at the begin
Play the whole text
Replace the text
Play it again
List all available voices
Returns: | array [ string "afrikaans" string "albanian" ... ] |
List all availale mbrola voices
Returns: | array [ string "english-mb-en1" string "french-mbrola-4" string "italian-mbrola-3" ... ] |
Get the number of available voices
Returns: | int32 59 |
Get the index of the currently selected voice
Returns: | int32 31 |
Set the current voice by its index
Returns: | boolean true |
Get the name of the requested voice
Returns: | string "italian-mbrola-3" |
Set the current voice by its name
Returns: | boolean true |
Get the short name of the requested voice
Returns: | string "mb-it3" |
Returns if the requested voice is a mbrola
Returns: | boolean true |