Events stop firing on long synthesis requests saved to file

Last reviewed: 2/29/2008

PRB Article ID: P020805

The information in this article applies to:

  • SpeechKit 5


Events stop firing when synthesizing large text requests to a wave file. The wave file is complete, but not all the events are returned.


Large synthesis requests that persist to buffers, streams, or files may queue up events before application and event callback threads in runtime environments such as the Java Runtime Environment are able to run and process the events. Depending on the type and number of callback events requested by the application, the number of queued events could climb into the thousands. This was way above the ceiling limit SpeechKit imposed on its event queue. A well balanced application runtime environment processes events in tandem with the event source firing them. In some cases such as stream audio requests, the operating system can favor threads causing a backlog of unprocessed events.


Fixed in SpeechKit 5 build (Win32 and WinCE).

Component Formats Impacted

All component formats.