Model for a voice.
More...
|
| Voice () |
| Default.
|
|
| Voice (string name, string description, Gender gender, string age, string culture, string id="", string vendor="unknown", int sampleRate=0, bool neural=false) |
| Instantiate the class.
|
|
override bool | Equals (object? obj) |
|
override int | GetHashCode () |
|
override string | ToString () |
|
|
string | Name = string.Empty |
| Name of the voice.
|
|
string | Description = string.Empty |
| Description of the voice.
|
|
Gender | Gender = Gender.UNKNOWN |
| Gender of the voice.
|
|
string | Age = "unknown" |
| Age of the voice.
|
|
string | Identifier = string.Empty |
| Identifier of the voice.
|
|
string | Vendor = "unknown" |
| Vendor of the voice.
|
|
int | SampleRate |
| Sample rate in Hz of the voice.
|
|
bool | isNeural |
| Is the voice neural?
|
|
|
string | Culture [get, set] |
| Culture of the voice (ISO 639-1).
|
|
string | SimplifiedCulture [get] |
| Simplified culture of the voice.
|
|
◆ Voice() [1/2]
BogaNet.TTS.Model.Voice.Voice |
( |
| ) |
|
◆ Voice() [2/2]
BogaNet.TTS.Model.Voice.Voice |
( |
string | name, |
|
|
string | description, |
|
|
Gender | gender, |
|
|
string | age, |
|
|
string | culture, |
|
|
string | id = "", |
|
|
string | vendor = "unknown", |
|
|
int | sampleRate = 0, |
|
|
bool | neural = false ) |
Instantiate the class.
- Parameters
-
name | Name of the voice. |
description | Description of the voice. |
gender | Gender of the voice. |
age | Age of the voice. |
culture | Culture of the voice. |
id | Identifier of the voice (optional). |
vendor | Vendor of the voice (optional). |
sampleRate | Sample rate in Hz of the voice (optional). |
neural | Is the voice neural (optional). |
◆ Equals()
override bool BogaNet.TTS.Model.Voice.Equals |
( |
object? | obj | ) |
|
◆ GetHashCode()
override int BogaNet.TTS.Model.Voice.GetHashCode |
( |
| ) |
|
◆ ToString()
override string BogaNet.TTS.Model.Voice.ToString |
( |
| ) |
|
◆ Age
string BogaNet.TTS.Model.Voice.Age = "unknown" |
◆ Description
string BogaNet.TTS.Model.Voice.Description = string.Empty |
Description of the voice.
◆ Gender
Gender BogaNet.TTS.Model.Voice.Gender = Gender.UNKNOWN |
◆ Identifier
string BogaNet.TTS.Model.Voice.Identifier = string.Empty |
◆ isNeural
bool BogaNet.TTS.Model.Voice.isNeural |
◆ Name
string BogaNet.TTS.Model.Voice.Name = string.Empty |
◆ SampleRate
int BogaNet.TTS.Model.Voice.SampleRate |
Sample rate in Hz of the voice.
◆ Vendor
string BogaNet.TTS.Model.Voice.Vendor = "unknown" |
◆ Culture
string BogaNet.TTS.Model.Voice.Culture |
|
getset |
Culture of the voice (ISO 639-1).
◆ SimplifiedCulture
string BogaNet.TTS.Model.Voice.SimplifiedCulture |
|
get |
Simplified culture of the voice.
The documentation for this class was generated from the following file:
- /Users/stefanlaubenberger/Projects/CSharp/BogaNet/BogaNet.TTS/TTS/Model/Voice.cs