1

I'm putting together instructions for our users to test their microphones. Vista and 7 changed the Sound Recorder so it doesn't play back sound. Hence it's not good for testing sound (they have to save the file, find it, open it, inevitably get the Windows Media Player "first time" experience... at which time they've forgotten what they were doing).

The only other option I see for testing the Microphone is to click Start> Control Panel> Sound> Microphone > Configure> Set up Microphone (and hope that they don't have their Control panel in Classic setup.

I know there are ways to launch the Sound dialog via the command line like this.

Any ideas?

4 Answers 4

2

The Set up your Microphone wizard is hidden in the SpeechUX.dll. You can call SpeechUX.dll like so:

rundll32.exe "%windir%\system32\speech\speechux\SpeechUX.dll", RunWizard Tutorial (Speech Recognition Tutorial)
rundll32.exe "%windir%\system32\speech\speechux\SpeechUX.dll", RunWizard UserTraining (Voice Training)
rundll32.exe "%windir%\system32\speech\speechux\SpeechUX.dll", RunWizard MicTraining (Microphone Training)
rundll32.exe "%windir%\system32\speech\speechux\SpeechUX.dll", RunWizard UserEnrollment (Set Up Speech Recognition)

So you basically want: rundll32.exe "%windir%\system32\speech\speechux\SpeechUX.dll", RunWizard MicTraining

2
  • Confirmed that at least MicTraining one works on both Windows Vista and Windows 7. Oct 22, 2010 at 20:56
  • It turns out that this is not a very helpful test because it does not give you an option to configure the microphone. So, it's useful for us to be able to point out to the customer that it's a problem with their microphone not our software, but if Microsoft had just included a link to adjust the Microphone volume it would have been a useful Wizard. Oct 22, 2010 at 21:11
2

You should be able to do this with: control mmsys.cpl sounds

0
0

Control mmsys.cpl sounds doesn't work on Windows 7 (for me at any rate). It just pulls up the same default Sound Control Panel applet as mmsys.cpl does by default.

You can make it somewhat easier for your users by creating a shortcut that links directly to the wizard (or a link to a shortcut). In Windows 7 (and probably in Vista, can't be sure as I don't have access to a copy right now) you can create a shortcut to an item in the Control Panel by opening up the new Control Panel interface, searching for Microphone and then drag the "Set up a Microphone Link" to your desktop or a folder. You can then put it somewhere that they can access and send them a link to that.

2
  • Are you doing this from the RUN dialog or the Search: dialog (brought up by click Start)? it works in the latter but not the former (for me on Win 7) Feb 27, 2010 at 3:01
  • I I try it in the Seach: Dialog I get nothing at all, however if I search for Microphone from there it finds the direct link to the Wizard immediately so that seems like a better approach for you.
    – Helvick
    Feb 27, 2010 at 15:20
0

Thanks to jPerkster for pointing me in the right direction. Didn't occur to me to look for command line parameters here.

mmsys.cpl ,n NOTE: the space before the "," is absolutely needed or Windows thinks you're trying to launch mmsys.cpl, and you get an error n=

1 for recording

2 for Sounds

StackOverflow also has a similar way to do this programatically.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .