Class Voice
public class Voice : AIAsset, IData
- Inheritance
-
objectVoice
- Implements
-
IData
- Inherited Members
- Extension Methods
Fields
ElevenLabs_Rachel
public const string ElevenLabs_Rachel = "21m00Tcm4TlvDq8ikWAM"
Field Value
- string
Google_Zephyr
public const string Google_Zephyr = "zephyr"
Field Value
- string
GroqCloud_Arista
public const string GroqCloud_Arista = "Arista-PlayAI"
Field Value
- string
MicrosoftAzure_Luna
public const string MicrosoftAzure_Luna = "en-US-LunaNeural"
Field Value
- string
OpenAI_Alloy
public const string OpenAI_Alloy = "alloy"
Field Value
- string
SystemDefaults
public static readonly string[] SystemDefaults
Field Value
- string[]
Properties
Age
The age category of the voice actor (e.g., Child, Adult, Senior).
public VoiceAge Age { get; }
Property Value
Gender
The gender of the voice actor (e.g., Male, Female, Neutral).
public Gender Gender { get; }
Property Value
Language
The Unity SystemLanguage corresponding to the locale of this voice.
public SystemLanguage Language { get; }
Property Value
- SystemLanguage
Locale
The locale setting of this voice (e.g., en-US, ko-KR).
public Locale Locale { get; }
Property Value
- Locale
Name
The name of the voice actor.
public override string Name { get; }
Property Value
- string
Methods
DefaultByApi(Api)
public static string DefaultByApi(Api api)
Parameters
apiApi
Returns
- string
FirstCandidate(params string[])
public static Voice FirstCandidate(params string[] candidateIds)
Parameters
candidateIdsstring[]
Returns
TryGet(out Voice, params string[])
public static bool TryGet(out Voice voice, params string[] candidateIds)
Parameters
voiceVoicecandidateIdsstring[]
Returns
- bool
Operators
implicit operator Voice(string)
public static implicit operator Voice(string voiceId)
Parameters
voiceIdstring