LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

soxi

Display audio file format information

TLDR

Show file info
$ soxi [audio.wav]
copy
Show duration
$ soxi -D [audio.wav]
copy
Show sample rate
$ soxi -r [audio.wav]
copy
Show channels
$ soxi -c [audio.wav]
copy
Show bit depth
$ soxi -b [audio.wav]
copy
Show encoding
$ soxi -e [audio.wav]
copy
Show file type
$ soxi -t [audio.wav]
copy
Show total duration of multiple files
$ soxi -T [file1.wav] [file2.wav]
copy

SYNOPSIS

soxi [-D] [-r] [-c] [-b] [options] files

DESCRIPTION

soxi displays audio file information. It's part of SoX (Sound eXchange).Duration shows file length. Seconds or time format available.Technical parameters show format details. Sample rate, bit depth, channels.Multiple files can be queried. Summary totals available.Output is scriptable. Individual values returned for parsing.

PARAMETERS

-D

Duration in seconds.
-d
Duration in time format.
-r
Sample rate.
-c
Channel count.
-b
Bits per sample.
-e
Encoding type.
-t
File type.
-s
Sample count.
-V[level]
Set verbosity level.
-T
Total duration when multiple files are given.

INSTALL

sudo apt install sox
copy
sudo dnf install sox
copy
sudo pacman -S sox
copy
sudo apk add sox
copy
sudo zypper install sox
copy
brew install sox
copy
nix profile install nixpkgs#sox
copy

CAVEATS

Part of SoX suite. Not all formats supported. Metadata limited to audio properties.

HISTORY

soxi is the info utility from SoX (Sound eXchange), the Swiss Army knife of audio processing. Created by Chris Bagwell and others.

SEE ALSO

sox(1), ffprobe(1), mediainfo(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid