BogaNet 1.4.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Properties | List of all members
BogaNet.TTS.Model.Voice Class Reference

Model for a voice. More...

Public Member Functions

 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 ()
 

Public Attributes

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?
 

Properties

string Culture [get, set]
 Culture of the voice (ISO 639-1).
 
string SimplifiedCulture [get]
 Simplified culture of the voice.
 

Detailed Description

Model for a voice.

Constructor & Destructor Documentation

◆ Voice() [1/2]

BogaNet.TTS.Model.Voice.Voice ( )

Default.

◆ 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
nameName of the voice.
descriptionDescription of the voice.
genderGender of the voice.
ageAge of the voice.
cultureCulture of the voice.
idIdentifier of the voice (optional).
vendorVendor of the voice (optional).
sampleRateSample rate in Hz of the voice (optional).
neuralIs the voice neural (optional).

Member Function Documentation

◆ 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 ( )

Member Data Documentation

◆ Age

string BogaNet.TTS.Model.Voice.Age = "unknown"

Age of the voice.

◆ Description

string BogaNet.TTS.Model.Voice.Description = string.Empty

Description of the voice.

◆ Gender

Gender BogaNet.TTS.Model.Voice.Gender = Gender.UNKNOWN

Gender of the voice.

◆ Identifier

string BogaNet.TTS.Model.Voice.Identifier = string.Empty

Identifier of the voice.

◆ isNeural

bool BogaNet.TTS.Model.Voice.isNeural

Is the voice neural?

◆ Name

string BogaNet.TTS.Model.Voice.Name = string.Empty

Name of the voice.

◆ SampleRate

int BogaNet.TTS.Model.Voice.SampleRate

Sample rate in Hz of the voice.

◆ Vendor

string BogaNet.TTS.Model.Voice.Vendor = "unknown"

Vendor of the voice.

Property Documentation

◆ 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: