CHMlib Logo Leading Translation Management System for Translation Agencies, Top Translation Management Software for Freelance Translators, Time Tracking Software, Word Count, Character Count and Line Count Software, Computer Assisted Translation Tool for Easy Word Count, Clipboard Character Count Software, User-Friendly Translation Memory Software, Terminology Management Software, Terminology Management Server, Microsoft Glossary Software, Dictionary of Acronyms, Social Network for Translators and Translation Agencies, Acronyms and Abbreviations Search Engine, Russian Translation Lab, Ukrainian Translation Lab.
You are reading help file online using chmlib.com
CrisisHelper - First Aid in Tough Times of World Economic Crisis


Intelligent Interface Technologies Home Page Microsoft Speech SDK

Speech Automation 5.1

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.

Example

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.

The first example retrieves the recognition offset using the OffsetFromStart property.

Dim myTimes As ISpeechRecoResultTimes
Set myTimes = RecoResult.Times
    
Dim offsetPosition As Variant
offsetPosition = myTimes.OffsetFromStart

The second example retrieves the recognition offset by directly accessing the RecoResult structure.

Dim offsetPosition As Variant
offsetPosition = RecoResult.Times.OffsetFromStart


You are reading help file online using chmlib.com

If you want your help file to be removed or added please send e-mail to chmlibcom@gmail.com
Partner sites: Logo Design, Simple Anti-Crisis Accounting Software, Voice Search for Web