Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ISpeechRecoResultTimes OffsetFromStart Property (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

Interface: ISpeechRecoResultTimes

OffsetFromStart Property

The OffsetFromStart property returns the time from the start of the stream to the start of the phrase.

It is specified in 100 nanosecond units.


Syntax

Set: (This property is read-only)
Get: Variant = ISpeechRecoResultTimes.OffsetFromStart

Parts

ISpeechRecoResultTimes
The owning object.
Variant
Set: (This property is read-only)
Get: A Variant type containing time offset from the start of the stream.

Remarks

When a recognition occurs with a valid RecoResult, the times can be extracted in order to select data at a later time. For example, using the phrase "variety is the spice of life," the OffsetFromStart position could be 21120 if the user started speaking relatively quickly once the stream began.

Example

Use of the ISpeechRecoResultTimes object is demonstrated in a code example at the end of this section.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.