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

ISpeechRecoResultTimes Length Property (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

Interface: ISpeechRecoResultTimes

Length Property

The Length property returns the time length of the last recognition.

It is specified in 100 nanosecond units.


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


The owning object.
Set: (This property is read-only)
Get: A Variant type containing the length of the recognition.


When a recognition occurs with a valid RecoResult, the times can be extracted for later use to allocate memory or to select data from the audio stream. For example, using the phrase "variety is the spice of life," the Length could be 32,200,000 nanoseconds or 3.2 seconds.


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
© 2014 Microsoft. All rights reserved.