Crosstales.RTVoice.RTVoiceUWPBridge Class Reference

WSA (UWP) TTS bridge. More...

Inheritance diagram for Crosstales.RTVoice.RTVoiceUWPBridge:

Public Member Functions

async void SynthesizeToFile (string text, string path, string fileName, string voice)
 Use the TTS engine to write the voice clip into a pre-defined Folder. More...
 
async void SynthesizeToMemory (string text, string voice)
 Use the TTS engine to write the voice clip into a pre-defined Folder. More...
 
void Dispose ()
 

Properties

bool isBusy [get, set]
 Indicates if the TTS-Engine is currently busy. More...
 
static string TargetFolder [get]
 Returns the target folder of the last Speak call. If there hasn't been a Speak call so far, returns ApplicationData.Current.LocalFolder. More...
 
byte[] AudioData [get]
 Returns the audio data of the last Speak call. More...
 
string[] Voices [get]
 Returns the available voices. More...
 

Detailed Description

WSA (UWP) TTS bridge.

Member Function Documentation

◆ SynthesizeToFile()

async void Crosstales.RTVoice.RTVoiceUWPBridge.SynthesizeToFile ( string  text,
string  path,
string  fileName,
string  voice 
)

Use the TTS engine to write the voice clip into a pre-defined Folder.

Parameters
textSpoken text
pathTarget folder
fileNameFile name
voiceDesired voice

◆ SynthesizeToMemory()

async void Crosstales.RTVoice.RTVoiceUWPBridge.SynthesizeToMemory ( string  text,
string  voice 
)

Use the TTS engine to write the voice clip into a pre-defined Folder.

Parameters
textSpoken text
pathTarget folder
fileNameFile name
voiceDesired voice

Property Documentation

◆ AudioData

byte [] Crosstales.RTVoice.RTVoiceUWPBridge.AudioData
get

Returns the audio data of the last Speak call.

Returns
The audio data of the last Speak call.

◆ isBusy

bool Crosstales.RTVoice.RTVoiceUWPBridge.isBusy
getset

Indicates if the TTS-Engine is currently busy.

Returns
True if the TTS-Engine is currently busy.

◆ TargetFolder

string Crosstales.RTVoice.RTVoiceUWPBridge.TargetFolder
staticget

Returns the target folder of the last Speak call. If there hasn't been a Speak call so far, returns ApplicationData.Current.LocalFolder.

Returns
The target folder of the last Speak call.

◆ Voices

string [] Crosstales.RTVoice.RTVoiceUWPBridge.Voices
get

Returns the available voices.

Returns
Available voices as string-array. Format: DisplayName;Language</string>

The documentation for this class was generated from the following file:
  • C:/Users/slaub/Unity/assets/RTVoice/RTVoicePro/Assets/Plugins/crosstales/RTVoice/Scripts/Native/RTVoiceUWPBridge.cs