AudioLogEvent Class
AudioLogEvent Class
Raised by: SES
Base Class: DataLogEvent
Derived Classes: None
AudioLogEvent is raised whenever an audio stream is submitted to the Speech Engine Services recognition engine.
AudioLogEvent has the following properties:
Property |
Type |
Description |
---|---|---|
ID |
String |
A unique identifier for the audio stream for this recognition. |
Offset |
Integer |
The number of bytes into the stream where this audio starts. A zero value here indicates this is the start of the audio stream. |
Data |
ByteArray |
The array of bytes that contains this portion of the audio stream. A zero-length packet indicates the end of stream. |
AudioFormat |
Integer |
The GUID for the audio format of this stream. (Must be one of the supported audio formats.) |
Remarks
When SES passes an audio stream to the recognition engine, it also writes that audio stream to the log by splitting the stream across multiple AudioLogEvent entries.
Note To reconstruct the stream, use the MSSContentExtract tool.
The value for AudioFormat must be one of the GUIDs that identifies the supported audio formats, that is:
GUID |
Audio Format |
---|---|
{5F8527B8-9432-45A4-A5D9-6FA806E70023} |
8 kHz, 16 bit, mono, PCM |
{A6C9122A-A7A8-41F6-8EF9-BADC86B8F6FE} |
16 kHz, 16 bit, mono, PCM |
{A6D18341-29D9-4629-AD37-7E7650783BE8} |
22.05 kHz, 16 bit, mono, PCM |
{CDAE6271-C40E-4E03-9E32-7FAA54A71BB1} |
8 kHz, 8 bit, mono, mu-law |
{77220329-086E-4F6C-AA02-E1DDE251DF08} |
8 kHz, 8 bit, mono, a-law |
{6F50E21C-E30E-4B50-95E9-21E8F23D15BD} |
Microsoft compressed cepstral format |
See Also
Event Logging Class Hierarchy | Logging and Analyzing Events | CommonEvent| Event Filters | Filtering Logged Events