Browse
 
Tools
Rss Categories

Constants

1 ASR Sound Formats

The Speech Engine accepts audio only in certain formats. The sound formats listed below are members of an enum SOUND_FORMAT which is used as an argument in loading the voice channel (LoadVoiceChannel or LV_SRE_LoadVoiceChannel) for decodes . The streamed…

2 Decoder Flags

The engine accepts flags for use when calling LV_SRE_Decode and Decode. In streaming mode, if Auto Decode mode is set by enabling STREAM_PARM_AUTO_DECODE using LV_SRE_StreamSetParameter or StreamSetParameter, the Decode function is internally called with…

3 Error Codes

This is the comprehensive list of error codes that can be returned by any LumenVox API call. List of Error Codes LV_SUCCESS Value: 0 Description: No Error LV_FAILURE Value: -1 Description: Speech Port not opened LV_SYSTEM_ERROR Value: -2 Description: A system…

4 Semantic Data Print Format

These macros are used in the LVSemanticData_Print function to specify the printing format. SI_FORMAT_XML Description: Primitive data types are printed as string literals; objects and arrays are printed as a collection of xml key value pairs. SI_FORMAT_ECMA…

5 Semantic Data Type

These macros specify the underlying data type of H_SI_Data. They can be obtained from LVSemanticData_GetType or Type List of Semantic Data types SI_TYPE_NULL Description: Usually this type indicates that some error occurred. Value: 0 SI_TYPE_BOOL Description:…

6 Speech Port Properties

Various Speech Port Properties can be set via the API at a Scope of the client level or the port level. In the C API they are set through LV_SRE_SetPropertyEx. In the C++ API, they are set through SetPropertyEx at the port or client level, or SetClientPropertyEx…

7 Stream Properties

Various stream properties can be set via LV_SRE_StreamSetParameter and StreamSetParameter. These parameter can later be queried with LV_SRE_StreamGetParameter or StreamGetParameter. The Stream parameters can be returned to their default values with LV_SRE_StreamSetParameterToDefault…

8 Stream Status

The following values are returned by LV_SRE_StreamSetStateChangeCallBack and StreamSetStateChangeCallBack. The stream status can also be queried through LV_SRE_StreamGetStatus and StreamGetStatus. List of Stream Status STREAM_STATUS_NOT_READY Description:…

9 TTS Client Properties

Various Speech Port Properties can be set via the API at a scope of the application level or the client port level. In the C API they are set through LV_TTS_SetPropertyEx. In the C++ API, they are set through LVTTSClient::SetPropertyEx at the client port…

10 TTS Sound Formats

The TTS Server synthesizes audio only in certain formats and sampling rates. The sound formats listed below are the supported members of the enum called SYNTHESIS_SOUND_FORMAT. These values are used to set the TTS property PROP_EX_SYNTH_SOUND_FORMAT which…