Command reference
ed audio-devices route
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.
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. |
$ 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.