aos audio
Volume, mute, and output/input devices
5 commands. Run aos audio --help for the same list from the binary, or see every group.
Output volume and mute for the system sound device. volume with no argument prints the level 0 to 100; with a number it sets it, and +n or -n nudges it. mute prints or changes the mute state. These work without a display, so they are fine over SSH. devices lists every output and input device with the defaults marked; output and input print the current default, or switch it by name, a unique part of the name, or id (an ambiguous name is refused with the candidates).
Commands
Section titled “Commands”aos audio devices
Section titled “aos audio devices”List output and input sound devices, marking the defaults
Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works
aos audio devices [--json]| flag | values | meaning |
|---|---|---|
--json |
Optional |
aos audio devicesaos audio devices --jsonaos audio input
Section titled “aos audio input”Print the default input device, or switch it by name or id
Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works
aos audio input [<device>]| flag | values | meaning |
|---|---|---|
<device> |
Optional positional argument |
aos audio inputaos audio input "MacBook Pro Microphone"aos audio mute
Section titled “aos audio mute”Print or change the output mute state
Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works
aos audio mute [on|off|toggle]aos audio mute toggleaos audio output
Section titled “aos audio output”Print the default output device, or switch it by name or id
Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works
aos audio output [<device>]| flag | values | meaning |
|---|---|---|
<device> |
Optional positional argument |
aos audio outputaos audio output AirPodsaos audio output "MacBook Pro Speakers"aos audio volume
Section titled “aos audio volume”Print the output volume, or set it
Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works
aos audio volume [<0-100>|+<n>|-<n>]| flag | values | meaning |
|---|---|---|
<0-100> |
Optional positional argument | |
<n> |
Optional positional argument | |
<n> |
Optional positional argument |
aos audio volumeaos audio volume 40aos audio volume +5