Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any program (or code, any language) that will mute all of the microphones on my computer? If it is code, please make it as simple as possible, the only language I know is C# and I am still VERY new to it. I just want to setup some way to mute my microphones from a hotkey/shortcut, and if I can just find a program that can do, I will be set. As I said, I can also do a little bit if it is in C#, but the only code I have seen before for this, was miles long (atleast to me). My goal, is I just want a program that opens up, and toggles the mute on the microhpones (all of the system audio input) then closes. That is it, very simple. Thank you to anyone who trys to helps me!

EDIT: Yes, I am using Windows. I am using Windows 7 32-bit. I already know that I can go into the volume mixer and do it that way, but I need to do this while running a full screen application, and it is a hassle to have to exit fullscreen, open the volume mixer, the click the mute icon, then go back into full screen and the the whole thing over again to unmute it. And I will be toggling back and forth quite often, so it just takes alot to do that so much.

share|improve this question

migrated from Feb 20 '10 at 0:47

This question came from our site for professional and enthusiast programmers.

I'm not sure what code there might be, but can you not simply access the microphone's controls? You don't specify your platform -so I'm assuming Windows (though I'm making no guesses as to which version)- the control panel should allow control of this nature. (Also: voting to close as it seems closer to the remit of than stackoverflow.) – David Thomas Feb 19 '10 at 22:13
There's an article at codeguru with csharp control of audio devices - if anyone wants to take a crack at it, this would be a good starting point. – jball Feb 19 '10 at 22:19

Autohotkey would probably do the trick. It has a "SoundSet" command that can adjust volume/mute levels for all audio devices.


Here's someone's AHK script doing exactly what you're looking for.

share|improve this answer
That might be able to work, but unless I missed something simple, that still seemed a mile long, and I want to mute just the microhpone, but keep the rest of the sound running fine. – Sean Feb 19 '10 at 22:24
There's a "ComponentType" parameter which can be used to specify just the microphone. – James Kolpack Feb 19 '10 at 22:29

You must log in to answer this question.