Events are added to response files (special logs generated by the Engine which contain audio for each decode and a host of other information). The response files are generated in the responses folder located in the Engine installation directory, under the Lang directory. To turn on responses, there is an additional API call that needs to be made (see LV_SRE_SetProperty). Any number of events may be added.
int LV_SRE_AddEvent(HPORT hport, const char* eventName);
Zero (0) or greater indicates success.
A negative result indicates a specific error:
-1: LV_FAILURE: Failed to add an event, possibly because of an invalid port handle or zero-length eventName, or because responses were not turned on.
hport
A handle to the speech port.
eventName
Any non-zero length string.
Complete Help Topic List | Speech Engine Product Information