deweller/switchaudio-osx
Change the audio source for Mac OS X from the command line. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4448
- days_rel: n/a
- days_push: 787
- n_releases_24m: 0
Adoption not part of the score
1440 stars · 102 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A lightweight C-based command-line utility for macOS that switches the system audio input, output, or system sound device without any GUI interaction. It can list all audio devices, report or set the current device by name/id/uid, cycle to the next device, and mute or unmute, with human, cli, or json output formats.
Use cases
- switch the mac audio output device from the terminal
- change the microphone input on macOS without opening System Preferences
- toggle mute on the mic from a hotkey for Zoom or Teams calls
- cycle between headphones and speakers via a script
- get the current default audio device on mac in json for scripting
- automate audio device switching with Hammerspoon or BetterTouchTool
When to choose
- You need to script or hotkey audio device switching on a Mac
- You want to mute/unmute the microphone programmatically during calls
- You're building an automation that needs to read or set the current audio device and parse json output
- You prefer a tiny no-GUI tool installed via Homebrew
When to avoid
- You're not on macOS - this uses macOS-specific CoreAudio APIs
- You want a GUI app or menu bar audio switcher
- You need audio processing, mixing, or per-application audio routing
- You need to control audio on remote machines or other operating systems
Facets
cli-tool · maturity stable
cli desktop-applications cli audio-device-switching coreaudio mute-control macos-audio scriptable hotkey-automation no-gui json-output audio command-line macos desktop
1 source
- readme: https://github.com/deweller/switchaudio-osx · fetched 2026-08-28 · 6d48abfecf87
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| deweller/switchaudio-osx | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="deweller/switchaudio-osx")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem