Skip to content
项目

GraspAbjurer46/AudioSwitch-HotkeyToggle

在 GitHub 查看

关于

Switch Windows 10/11 headphones, speakers, and microphones with a global hotkey or tray click—no digging through Windows Sound settings.

效率与自动化

这些数字如何统计

可以做什么

  • Toggles between selected playback devices (e.g., USB Headset ↔ Desktop Speakers) via global hotkey.
  • Hides unused NVIDIA/AMD HDMI monitor audio devices from the switcher rotation.
  • Switches both Default Audio and Default Communication roles simultaneously so Discord and games follow immediately.
  • Includes a global microphone mute/unmute hotkey with subtle corner OSD confirmation.

实测星标增长

24小时
0
7天
0
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

AudioSwitch Hotkey Toggle — One-Key Headphones, Speakers & Microphone Switcher

Platform: Windows 10/11 x64 Mode Release Tag License: MIT

AudioSwitch Hotkey Toggle — One-Key Headphones, Speakers & Microphone Switcher

Tired of opening Windows 11 Sound settings every time you switch between your gaming headset and desktop speakers? Toggle your active playback and recording devices instantly with a global keyboard shortcut and clean on-screen indicator.

AudioSwitch Hotkey Toggle lives in your Windows system tray and switches both Default Playback and Default Communication endpoints simultaneously: letting you cycle only your chosen devices (hiding unused monitor HDMI audio outputs) and bind a global hotkey to toggle or mute your microphone.

This project is aimed at Windows 10 and Windows 11 (64-bit) PC gamers, streamers, and remote workers with multiple audio devices (USB headsets, DACs, Bluetooth, and desktop speakers).

Quick Use-Case & Troubleshooting Reference

Scenario / Issue Cause Solution
Switching headphones to speakers takes 5 clicks in Windows 11 Windows 11 Sound flyout lists every disconnected monitor HDMI output Hide unused endpoints and cycle only your headset & speakers via hotkey
Discord / games keep using old mic after switching headsets Windows separates Default Device from Default Communication Device Synchronize both Default and Communication roles automatically
Need a universal hardware-independent mic mute shortcut Different voice apps use conflicting push-to-mute keybinds Bind a global system-level microphone mute toggle with OSD badge
Windows resets default output when turning off wireless headset USB/Bluetooth dongle reconnection changes endpoint priority Pin preferred fallback order in AudioSwitch

Download for Windows

Download AudioSwitch.zip — Latest GitHub Release (Windows x64)
View All Releases & Changelog · Report an Issue

Why use AudioSwitch.exe? (Key features)

  • Toggles between selected playback devices (e.g., USB Headset ↔ Desktop Speakers) via global hotkey.
  • Hides unused NVIDIA/AMD HDMI monitor audio devices from the switcher rotation.
  • Switches both Default Audio and Default Communication roles simultaneously so Discord and games follow immediately.
  • Includes a global microphone mute/unmute hotkey with subtle corner OSD confirmation.

Sample Output

[AudioSwitch] System Tray Service Running (Hotkey: Ctrl+Alt+A)
[OK]   Playback Toggle  : [1] HyperX Cloud III USB  <-->  [2] Realtek Desktop Speakers
[INFO] Hidden Devices   : 3 NVIDIA High Definition Audio monitor endpoints hidden
[OK]   Default Mic      : Yeti Nano USB (Synced to Default + Communication roles)

The release ZIP is named AudioSwitch.zip; the Windows executable inside is named AudioSwitch.exe.

  1. Close AudioSwitch before updating or replacing executable files.
  2. Click Download AudioSwitch.zip above.
  3. Right-click the downloaded archive and choose Extract All.
  4. Open the extracted folder and run AudioSwitch.exe.
  5. Review the options and output paths before processing files.

Requirements: Windows 10 or 11 (64-bit) with two or more audio playback/recording endpoints.

Verification & Windows SmartScreen Note

  • Offline & standard user permissions: AudioSwitch.exe runs locally without uploading your files and does not require disabling Windows Defender.
  • Windows SmartScreen: Because this is an independent open-source utility without a commercial EV code-signing certificate, Windows SmartScreen may show "Windows protected your PC" on first launch. Click More info → Run anyway after verifying the release checksum on the Releases page.

Problems this project solves

Cluttered Windows Sound menus full of monitor audio devices

Modern GPUs expose 3–4 inactive HDMI/DisplayPort audio outputs that clutter Windows device lists.

Desynced Default vs. Communication audio roles

Games often follow the Default role while Discord/Teams follow the Communication role; AudioSwitch updates both together.

Zero background CPU/RAM bloat

Lightweight native tray utility using less than 15 MB RAM.

Portable configuration

Stores hotkey and device filters in a clean local JSON config.

Default folders and configuration paths

AudioSwitch runs from any folder and stores its hotkey configuration in %APPDATA%\AudioSwitch:

%APPDATA%\AudioSwitch\config.json

Typical directory layout:

System Tray -> AudioSwitch
├── Toggle Output Hotkey : Ctrl + Alt + A
├── Mute Mic Hotkey      : Ctrl + Alt + M
└── Sync Roles           : Default Console + Multimedia + Communications

You can enable 'Start with Windows' directly from the system tray icon right-click menu.

Quick start guide

Follow these steps to get started:

  1. Extract AudioSwitch.zip to a permanent folder (e.g., C:\Tools\AudioSwitch). Avoid running from temporary download folders if enabling autostart.
  2. Run AudioSwitch.exe and click its tray icon. Check only the 2–3 devices you actually want in your rotation.
  3. Assign your preferred global hotkeys. Test switching devices while music or a game is running.
  4. Enable 'Sync Communication Role' so Discord and games switch together. Verify both playback and mic devices update cleanly.

Data safety note

AudioSwitch only toggles standard Windows Core Audio default endpoints without altering drivers.

What the status summary shows

AudioSwitch shows active playback/recording endpoints, role sync status, and bound global hotkeys.

FAQ

Does AudioSwitch switch audio mid-game without restarting the game?

Yes—modern Windows 10/11 games and Discord immediately route audio to the newly selected default endpoint.

Can I hide my monitor's built-in speakers from the list?

Yes—uncheck any HDMI/DisplayPort endpoints in the tray menu so only your headset and speakers toggle.

How much RAM does it use?

Typically under 15 MB in the system tray.

Useful reading

More Windows Desktop Utilities

Independent open-source desktop utility for Windows.

探索相关项目

加载中…