Browse
 
Tools
Rss Categories

Methods

21 LVTTSClient::GetSynthesisWarningSSMLLine

Returns the SSML line number that triggered the specified warning. This functionality was added in LumenVox version 13.0 (December 2014). Function LV_TTS_RETURN_CODE GetSynthesisWarningSSMLLine( unsigned int warning_idx, int * return_val ) Parameters warning_idx…

22 LVTTSClient::GetSynthesizedAudioBuffer

Read all, or some portion of the synthesized audio buffer that was obtained from a LVTTSClient::Synthesize call. Each successive invocation of this function reads the buffer at an offset that is after the last sample read in the previous call. Function LV_TTS_RETURN_CODE…

23 LVTTSClient::GetSynthesizedAudioBufferLength

Returns the size, in bytes, of the synthesized audio buffer that was produced from a previous Synthesize call. Function LV_TTS_RETURN_CODE GetSynthesizedAudioBufferLength(int * buffer_length) Parameters buffer_length Memory location of integer variable where…

24 LVTTSClient::GetSynthesizedAudioFormat

Returns the sound format of the synthesized audio from the last call to Synthesize Function LV_TTS_RETURN_CODE GetSynthesizedAudioFormat(int * audio_format) Parameters audio_format Memory location of integer value into which the audio format value is copied.…

25 LVTTSClient::GetSynthesizedAudioSampleRate

Returns the sample rate (in Hz) of the synthesized audio from the last call to Synthesize Function LV_TTS_RETURN_CODE GetSynthesizedAudioSampleRate(int * sample_rate) Parameters sample_rate Memory location of integer variable into which the sample rate value…

26 LVTTSClient::GetVisemeName

Returns the name of the specified viseme as a character string. Visemes represent facial expressions related to the pronunciation of certain phonemes. This information can be used to align visual cues to audio playback. This may be useful in applications…

27 LVTTSClient::GetVisemeOffsetInBuffer

Returns the offset, in bytes, to the beginning of the specified viseme in the synthesized audio buffer. The offset provided is relative to the start of the buffer. Documentation is available to convert buffer offset to milliseconds. Visemes represent facial…

28 LVTTSClient::GetVisemesCount

Returns the number of text-to-speech visemes available in the active synthesis result. Visemes represent facial expressions related to the pronunciation of certain phonemes. This information can be used to align visual cues to audio playback. This may be…

29 LVTTSClient::Initialize

Initialize an LVTTSClient object for any subsequent TTS operations. Function LV_TTS_RETURN_CODE Initialize(const char * lang_code, const char * gender, const char * speaker_name, unsigned int sampling_rate) Parameters lang_code The language of the voice that…

30 LVTTSClient::IsServerAvailable

Returns a value based on whether there are any connected TTS servers available. Note that one or more TTS servers can be specified within the client_property.conf settings. Function static LV_TTS_RETURN_CODE IsServerAvailable(void) Return Values 1 At least…