How do I use custom SAPI audio handlers?
Last reviewed: 5/13/2001
HOW Article ID: H050101
The information in this article applies to:
- SpeechKit 3
Summary
SpeechKit 3 offers you a way to use custom audio handlers for SAPI audio objects. A custom audio handler is a COM object written to the SAPI audio object specification. It supports the required SAPI interfaces for processing audio. You can use custom audio handlers to support proprietary hardware and/or perform specific pre and post audio processing.
More Information
SpeechKit 3 provides a way for you to specify the class id (CLSID) of a custom audio COM object for SAPI4 and SAPI5 source and destination audio objects.
You define the class id of your custom audio COM object in the system registry as a string value using the applicable key where Application is the value of the Application property for your application:
HKEY_CURRENT_USER\Software\Chant\SpeechRecognition\Application\CLSID_AudioSourceTel
HKEY_CURRENT_USER\Software\Chant\SpeechRecognition\Application\CLSID_AudioSourceFile
HKEY_CURRENT_USER\Software\Chant\SpeechRecognition\Application\CLSID_MMAudioSource
HKEY_CURRENT_USER\Software\Chant\SpeechRecognition\Application\CLSID_AudioSourceDirect
HKEY_CURRENT_USER\Software\Chant\SpeechRecognition\Application\CLSID_SuspAudioSource
HKEY_CURRENT_USER\Software\Chant\SpeechRecognition\Application\CLSID_SpMMAudioIn
HKEY_CURRENT_USER\Software\Chant\SpeechSynthesis\Application\CLSID_AudioDestTel
HKEY_CURRENT_USER\Software\Chant\SpeechSynthesis\Application\CLSID_AudioDestFile
HKEY_CURRENT_USER\Software\Chant\SpeechSynthesis\Application\CLSID_MMAudioDest
HKEY_CURRENT_USER\Software\Chant\SpeechSynthesis\Application\CLSID_AudioDestDirect
HKEY_CURRENT_USER\Software\Chant\SpeechSynthesis\Application\CLSID_SpMMAudioOut