How Tos

Last reviewed: 12/2/2009

Article ID: H120911

HOW: Determining the microphone state

The information in this article applies to:

  • SpeechKit 6

Summary

Some application scenarios may benefit by determining whether the recognizer is active. For some recognizers, this done by accessing the microphone state.

More Information

Dragon NaturallySpeaking provides a desktop microphone that applications can share. Determining the state within an application can now be down by accessing the AwakeState property.

int micState = ChantSR.GetNumberProperty(CNPAwakeState);

The CNPAwakeState property may have the following values:

Speech APICNPAwakeState Value
Dragon 0 - Microphone disabled
1 - Microphone off
2 - Microphone on
3 - Microphone sleeping
4 - Microphone paused
5 - Microphone resumed
SAPI 4 0 - Sleep
1 - Awake
SAPI 5 0 - Microphone off
1 Microphone on
SMAPI 0 - Microphone off
1 Microphone on
VoCon V2 0 - Microphone off
1 Microphone on
VoCon V3 0 - Microphone off
1 Microphone on
LexiconKit 4 Upgrade to LexiconKit 4

Tailor pronunciations for maximum clarity when recognizing and synthesizing in 32-bit, 64-bit, and mobile applications.

Learn moreLearn more DownloadDownload Buy US $499Buy US $499
Plantronics Voyager PRO UC Plantronics Voyager PRO UC Bluetooth headset

  • Noise-Canceling microphone
  • Range up to 30 feet
  • 6 hours talk time
  • Up to 100 hours standby
  • Convenient USB charging

Learn moreLearn more Buy US $199Buy US $199