# ed audio

> Per-app volume for whatever is playing, the same sliders as the notch mixer. Turning the mixer on or off stays ed config (notchAudioMixerEnabled).

- Canonical URL: https://getedith.pro/docs/cli/audio
- Updated: 2026-12-02

Per-app volume for whatever is playing, the same sliders as the notch mixer.
Turning the mixer on or off stays `ed config` (`notchAudioMixerEnabled`).

```
ed audio ls [--json]
ed audio volume <app> <level> [--json]
ed audio mute <app> [--json]
ed audio unmute <app> [--json]
```

`<app>` is a name, a bundle id, or a process id. `<level>` is 0 to 100. 0 mutes
the app. 100 restores full volume and removes the tap. These commands need the
Edith menu bar app, and macOS 14.4 or later.

`ls` prints one app per line: name, bundle id, and either `muted` or the
percent. `--json` returns `apps` and `changed`.

## Audio profiles

`ed audio profiles` saves the preferred input and output for each connected setup.

```
ed audio profiles ls [--json]
ed audio profiles save <name> [--input <uid>] [--output <uid>] [--automatic] [--json]
ed audio profiles preview <id> [--json]
ed audio profiles restore <id> [--json]
ed audio profiles automatic <id> <on|off> [--json]
ed audio profiles remove <id> [--json]
```

`ls` lists connected devices (`device`, UID, name, `input`/`output`) and saved
profiles (`profile`, id, name, `automatic` or `manual`). Omitted input or output
choices capture the current system defaults. Saving an existing name replaces
it, and saving never switches audio. Up to 32 profiles are kept. `preview`
reports each direction's preferred device, availability and fallback without
changing devices. `restore` switches the available devices independently and
keeps the system fallback for missing ones. `remove` keeps current audio.
`restore` and `remove` ask for confirmation when an agent runs them.

`--automatic` restores the profile when the same set of physical devices
returns, including at login. Virtual and aggregate devices, such as meeting app
loopbacks, do not change the setup. Only one automatic profile is kept per
setup. Manual changes stay selected until the setup changes or you restore a
profile. While any profile is automatic, Audio Mixer starts at login and
listens for Core Audio device changes; otherwise it does no background work.

JSON returns `hardware` (`devices`, `input`, `output`), `profiles`, `status`, and
optional `preview` and `error`. Each device has `id`, `name`, `input`, `output`
and `virtual`. A preview contains `profile`, `matchesSetup`, and `routes` with
`direction`, `preferred`, `selected`, and `available`. Exit codes: 2 for a bad
name or a disconnected device, 3 for an unknown profile, 1 when a device rejects
the switch (the other direction may already have changed).

## Where to go next

- [`ed config`](https://getedith.pro/docs/cli/config) for the mixer switch.
- [All `ed` commands](https://getedith.pro/docs/cli).

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
