GatoTTSLanguageVoices

Inherits: Resource

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Description

This class is a Resource used to configure the default voices for each OS and language. We try to provide defaults so that developers using this addon don’t have to waddle through lists of dozens or hundreds of voices to select defaults for their game. The list of curated voices can be found in res://addons/gato_tts/ui/resources/ under the names windows.tres, linux.tres.

Properties

GatoTTSPlatform

platform

Language

curated_voices

Methods

GatoTTSCuratedVoices

get_voices_for_language(language: StringName)


Enumerations

enum Language: 🔗

Language ES = 0

There is currently no description for this enum. Please help us by contributing one!

Language EN = 1

There is currently no description for this enum. Please help us by contributing one!


enum GatoTTSPlatform: 🔗

GatoTTSPlatform WINDOWS = 0

There is currently no description for this enum. Please help us by contributing one!

GatoTTSPlatform MAC = 1

There is currently no description for this enum. Please help us by contributing one!

GatoTTSPlatform LINUX = 2

There is currently no description for this enum. Please help us by contributing one!


Property Descriptions

GatoTTSPlatform platform 🔗

The platform for this configuration.


Language curated_voices 🔗

A dictionary that maps a Language with a GatoTTSCuratedVoices object containing a list of voices for that Language.


Method Descriptions

GatoTTSCuratedVoices get_voices_for_language(language: StringName) 🔗

Returns a GatoTTSCuratedVoices object containing the pre-configured voices for the current OS and parameter language.