class Espeak::Voice

Defined in:

espeak/voice.cr

Constant Summary

ESPEAK_VOICES_COL_INDEX_FILE = 5
ESPEAK_VOICES_COL_INDEX_GENDER = 3
ESPEAK_VOICES_COL_INDEX_LANGUAGE = 2
ESPEAK_VOICES_COL_INDEX_NAME = 4

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(language : String, name : String, gender : String, file : String) #

[View source]

Class Method Detail

def self.all #

[View source]
def self.espeak_voices #

Output looks like this:

Pty Language Age/Gender VoiceName File Other Languages 5 af M afrikaans other/af
5 an M aragonese europe/an


[View source]
def self.find_by_language(lang) #

[View source]

Instance Method Detail

def file : String #

[View source]
def gender : String #

[View source]
def language : String #

[View source]
def name : String #

[View source]