|
override string | AudioFileExtension => ".wav" |
|
override AudioType | AudioFileType => AudioType.WAV |
|
override bool | isWorkingInEditor => false |
|
override bool | isWorkingInPlaymode => true |
|
override bool | isPlatformSupported => !Crosstales.RTVoice.Util.Helper.isWebPlatform |
|
override int | MaxTextLength => 256000 |
|
override bool | isSpeakNativeSupported => false |
|
override bool | isSpeakSupported => true |
|
override bool | isSSMLSupported => true |
|
override bool | isOnlineService => true |
|
override bool | hasCoRoutines => true |
|
override bool | isIL2CPPSupported => true |
|
override bool | hasVoicesInEditor => true |
|
override int | MaxSimultaneousSpeeches => 0 |
|
bool | isValidAPIKey => APIKey?.Length >= 32 |
| Indicates if the API key is valid. More...
|
|
bool | isValidEndpoint => !string.IsNullOrEmpty(endpoint) && endpoint.Contains("api.cognitive.microsoft.com") |
| Indicates if the endpoint is valid. More...
|
|
bool | isValidRequestUri => !string.IsNullOrEmpty(requestUri) && requestUri.Contains("tts.speech.microsoft.com") |
| Indicates if the request URI is valid. More...
|
|
virtual string | DefaultVoiceName => string.Empty |
|
virtual System.Collections.Generic.List< Crosstales.RTVoice.Model.Voice > | Voices => cachedVoices |
|
|
override void | Start () |
|
virtual void | OnDestroy () |
|
virtual string | getOutputFile (string uid, bool isPersistentData=false) |
|
virtual IEnumerator | playAudioFile (Crosstales.RTVoice.Model.Wrapper wrapper, AudioClip ac, bool isNative=false) |
|
virtual IEnumerator | playAudioFile (Crosstales.RTVoice.Model.Wrapper wrapper, string url, string outputFile, AudioType type=AudioType.WAV, bool isNative=false, bool isLocalFile=true, System.Collections.Generic.Dictionary< string, string > headers=null) |
|
virtual void | copyAudioFile (Crosstales.RTVoice.Model.Wrapper wrapper, string outputFile, bool isLocalFile=true, byte[] data=null) |
|
virtual void | processAudioFile (Crosstales.RTVoice.Model.Wrapper wrapper, string outputFile, bool isLocalFile=true, byte[] data=null) |
|
virtual string | getVoiceName (Crosstales.RTVoice.Model.Wrapper wrapper) |
|
void | onVoicesReady () |
|
void | onSpeakStart (Crosstales.RTVoice.Model.Wrapper wrapper) |
|
void | onSpeakComplete (Crosstales.RTVoice.Model.Wrapper wrapper) |
|
void | onSpeakCurrentWord (Crosstales.RTVoice.Model.Wrapper wrapper, string[] speechTextArray, int wordIndex) |
|
void | onSpeakCurrentWord (Crosstales.RTVoice.Model.Wrapper wrapper, string word) |
|
void | onSpeakCurrentPhoneme (Crosstales.RTVoice.Model.Wrapper wrapper, string phoneme) |
|
void | onSpeakCurrentViseme (Crosstales.RTVoice.Model.Wrapper wrapper, string viseme) |
|
void | onSpeakAudioGenerationStart (Crosstales.RTVoice.Model.Wrapper wrapper) |
|
void | onSpeakAudioGenerationComplete (Crosstales.RTVoice.Model.Wrapper wrapper) |
|
void | onErrorInfo (Crosstales.RTVoice.Model.Wrapper wrapper, string info) |
|
|
string? | APIKey [get, set] |
| API-key to access Azure. More...
|
|
string | APIKey [get, set] |
|
string | Endpoint [get, set] |
| Endpoint to access Azure. More...
|
|
string | RequestUri [get, set] |
| Request URI associated with the API-key. More...
|
|
SampleRate | SampleRate [get, set] |
| Desired sample rate in Hz. More...
|
|
bool | isActive [get, set] |
|
abstract string | AudioFileExtension [get] |
|
abstract AudioType | AudioFileType [get] |
|
abstract bool | isWorkingInEditor [get] |
|
abstract bool | isWorkingInPlaymode [get] |
|
abstract int | MaxTextLength [get] |
|
abstract bool | isSpeakNativeSupported [get] |
|
abstract bool | isSpeakSupported [get] |
|
abstract bool | isPlatformSupported [get] |
|
abstract bool | isSSMLSupported [get] |
|
abstract bool | isOnlineService [get] |
|
abstract bool | hasCoRoutines [get] |
|
abstract bool | isIL2CPPSupported [get] |
|
abstract bool | hasVoicesInEditor [get] |
|
System.Collections.Generic.List< string > | Cultures [get] |
|
abstract int | MaxSimultaneousSpeeches [get] |
|
string | AudioFileExtension [get] |
| Returns the extension of the generated audio files. More...
|
|
AudioType | AudioFileType [get] |
| Returns the type of the generated audio files. More...
|
|
string | DefaultVoiceName [get] |
| Returns the default voice name of the current TTS-provider. More...
|
|
System.Collections.Generic.List< Crosstales.RTVoice.Model.Voice > | Voices [get] |
| Get all available voices from the current TTS-provider and fills it into a given list. More...
|
|
int | MaxTextLength [get] |
| Maximal length of the speech text (in characters). More...
|
|
bool | isWorkingInEditor [get] |
| Indicates if this provider is working directly inside the Unity Editor (without 'Play'-mode). More...
|
|
bool | isWorkingInPlaymode [get] |
| Indicates if this provider is working with 'Play'-mode inside the Unity Editor. More...
|
|
bool | isSpeakNativeSupported [get] |
| Indicates if this provider is supporting SpeakNative. More...
|
|
bool | isSpeakSupported [get] |
| Indicates if this provider is supporting Speak. More...
|
|
bool | isPlatformSupported [get] |
| Indicates if this provider is supporting the current platform. More...
|
|
bool | isSSMLSupported [get] |
| Indicates if this provider is supporting SSML. More...
|
|
bool | isOnlineService [get] |
| Indicates if this provider is an online service like MaryTTS or AWS Polly. More...
|
|
bool | hasCoRoutines [get] |
| Indicates if this provider uses co-routines. More...
|
|
bool | isIL2CPPSupported [get] |
| Indicates if this provider is supporting IL2CPP. More...
|
|
bool | hasVoicesInEditor [get] |
| Indicates if this provider returns voices in the Editor mode. More...
|
|
System.Collections.Generic.List< string > | Cultures [get] |
| Get all available cultures from the current provider (ISO 639-1). More...
|
|
int | MaxSimultaneousSpeeches [get] |
| Maximal number of simultaneous speeches (0 = unlimited). More...
|
|
Azure (Bing Speech) voice provider.