Skip to content
Edith

Docs

Command reference

ed audio-devices route

ed audio-devices

Plays one app on the chosen output while everything else uses the system output, for example Music on the speakers while a call stays on a headset. Helper processes of the app, such as a browser's audio helper, follow it. --clear lets the app follow the system output again.

Output
ed audio-devices route <app> [<device>] [--clear] [--json]
Argument or option Type / values Default What it does
<app> bundle identifier required The app, such as com.apple.Music.
<device> id or name none The output. Required unless --clear.
--clear flag off Stop routing the app.
--json flag off Emit the status object on stdout.
Output
$ ed audio-devices route com.apple.Music "Synthetic Display"Music plays on Synthetic Display (routed)

Routing uses a Core Audio process tap, so it needs macOS 14.4 or later and macOS asks for audio access the first time. When the output is the system output no tap runs. When the output disconnects the app follows the system output and moves back when it returns. Routes are kept across restarts. App volume stays in ed audio.

Where to go next