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: ISpeechRecoContext
Type: Hidden

AllowVoiceFormatMatchingOnNextSet Property


The AllowVoiceFormatMatchingOnNextSet property determines if the recognition context can change the audio format of the output voice to match the audio format of the input stream.

AllowVoiceFormatMatchingOnNextSet can be used only if a voice has been created through the recognition context. If this property is set to True, the voice's output format will be set to the same format as the associated SR engine's audio input format. This conversion takes place only during the next setting of the SpVoice.Voice. However, if this voice object has already been bound to a stream which has specific format, the voice's format will not be changed to the SR engine's audio input format even if set to True. If False, the conversion is not made.

Using the same audio format for input and output source is useful for sound cards that do not support full-duplex audio (i.e., input format must match output format). If the input format quality is lower than the output format quality, the output format quality will be reduced to equal the input quality.

By default, AllowVoiceFormatMatchingOnNextSet is set to True.


Syntax

Set: ISpeechRecoContext.AllowVoiceFormatMatchingOnNextSet = Boolean
Get: Boolean = ISpeechRecoContext.AllowVoiceFormatMatchingOnNextSet

Parts

SpeechRecoContext
The owning object.
Boolean
Set: A Boolean variable that sets the property.
Get: A Boolean variable that gets the property.

Example

The following snippet demonstrates retrieving and setting AllowVoiceFormatMatchingOnNextSet.

Public WithEvents RecognitionContext As SpSharedRecoContext
Set RecognitionContext = New SpSharedRecoContext
    
Dim voiceChange As Boolean
voiceChange = RecognitionContext.AllowVoiceFormatMatchingOnNextSet

RecognitionContext.AllowVoiceFormatMatchingOnNextSet = True
voiceChange = RecognitionContext.AllowVoiceFormatMatchingOnNextSet


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