Play and Process Audio With SoX
Use the play command that ships with SoX to audition audio files.
Run play audio.wav to hear the file through the default output.
01Command
Command
$ play audio.wav02What it does
SoX is a universal sound converter, and its play companion plays any supported format. Add effect chains such as reverb, speed 1.5 or gain -3 to transform audio on the fly, and use rec to record from the microphone.
03Risk
!Warning: Effects are applied to playback only for play; to keep a result, pass an output file to sox instead.
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- SoX — Sound eXchangeEvidence: Official SoX site documenting play, rec and effect chains.
- Homebrew formula: soxEvidence: Installs sox and its play/rec helper binaries.
Last verified: 2026-09-20 · Category: Media
06Related solutions
Play Music in the Terminal With cmus
Browse and play local audio files with a keyboard-driven ncurses player.
ASCII Aquarium With asciiquarium
Run a calm fish-tank animation made of plain text characters.
Print Images in the Terminal With catimg
Render a JPEG or PNG as colored blocks inside the terminal.