Mute default capture device (typically microphone) using tray icon click or custom shortcut.
Requires .NET Framework 4.8 (included in Windows 10 1903+ and Windows 11).
Push-to-talk (since 0.1.0)
Open "Hotkey" in the tray menu and check "Hold toggle hotkey for push-to-talk". Then the toggle hotkey works in two ways:
- Tap (shorter than 300 ms): toggle the mic, as before.
- Hold: the mic is on while you hold the key, and the tray icon is blue. When you release the key, the mic is muted.
It works with media keys too, for example the Mail key. In this mode MicMute takes the key for itself, so the Mail key does not open a mail app.
How to add sound on mute / unmute
Hotkey Issues in Full-Screen Applications or applications running with administrator privileges
- Problem: MicMute hotkeys might stop working when certain applications, particularly full-screen games (like Oxygen Not Included) or applications running with administrator privileges, are in the foreground. This can lead to the microphone staying on unexpectedly.
- Cause: Windows security mechanisms can prevent hotkey signals from reaching applications running with standard user privileges when an application with administrator privileges is active.
- Solution: Run
MicMute.exewith administrator rights. This allows MicMute to receive hotkey signals regardless of which application is currently active or its privilege level. To do this, right-click theMicMute.exefile and select "Run as administrator". For persistent use, you can configure the executable or a shortcut to always run as administrator. - See this comment for auto starting as administrator: #48 (comment)
Shortcut library https://github.com/AlexArchive/Shortcut
NAudio library https://github.com/naudio/NAudio
Costura.Fody https://github.com/Fody/Costura
