SFINFO(1)
π SFINFO(1) β the audio file tea-spiller
okay bestie, welcome to the sfinfo page from the Audio File Library manual set β it's a whole little icon and it's about to tell you everything about your audio files π
β¨ NAME β¨
sfinfo β display information about audio files π¦
πΈ SYNOPSIS πΈ
sfinfo [options] audio files...
π DESCRIPTION π
sfinfo prints info about the audio files you point it at β think file format, sample rate, duration, and audio data format. it's giving detective but make it cute πβ¨
by default sfinfo shows the long, multi-line format (the full main-character reveal π
). if you want the fast version, pass --short or -s and you get a short, single-line summary per file. slay.
here's the important part, no cap: any files that aren't recognized as valid audio files get ignored β unless you give --reporterror or -r, in which case it will actually tell you. so if you're like "where did my file go π" that's why.
the file formats sfinfo currently supports are, in order: AIFF, AIFF-C, NeXT/Sun .snd/.au, WAVE, Berkeley/IRCAM/CARL Sound File, AVR, Amiga IFF/8SVX, Sample Vision, Creative Voice File, NIST SPHERE, and Core Audio Format. that's a whole roster fr fr π
π OPTIONS π
--short,-sβ print a short single-line summary of each recognized audio file. quick vibe check, in and out π--reporterror,-rβ print an error message if any of the files you specified aren't recognized as valid audio files. basically the "hello?? are you gonna say something" option π--help,-hβ print help message. always here for you π«Ά--version,-vβ print version information. know your roots β
π EXAMPLES π
display summary of an audio file β the full multi-line glow-up:
% sfinfo drum.aiff
File Name drum.aiff
File Format Audio Interchange File Format (aiff)
Data Format 16-bit integer (2's complement, big endian)
Audio Data 1569972 bytes begins at offset 54 (36 hex)
2 channels, 392493 frames
Sampling Rate 44100.00 Hz
Duration 8.900 seconds
list all recognized audio files in the current directory using the short output format β one line each, chef's kiss:
% sfinfo -s *
9.60s 44100.00 aiff 1ch 16b -- bass.aiff
8.90s 44100.00 aiff 2ch 16b -- drum.aiff
π¦ SEE ALSO π¦
sfconvert(1) β go check out the sibling, iykyk π«
π AUTHOR π
Michael Pruett <michael@68k.org> π
and that's the page bestie!! π this whole thing came to you courtesy of Audio File Library 0.3.6, dated 03/06/2013 β iconic, timeless, we stan πΈβ¨π
π¦ where this page comes from
- alpine 3.24: audiofile-doc 0.3.6-r3 Β· LGPL-2.1-or-later
- arch rolling: audiofile 0.3.6-12 Β· Apache-2.0 AND GPL-2.0-or-later AND LGPL-2.1-or-later
- epel 10: audiofile 1:0.3.6-44.el10_2 Β· LGPL-2.1-or-later and GPL-2.0-or-later
- epel 9: audiofile 1:0.3.6-36.el9 Β· LGPL-2.1-or-later and GPL-2.0-or-later
- fedora 43: audiofile 1:0.3.6-42.fc43 Β· LGPL-2.1-or-later and GPL-2.0-or-later
- fedora 43: audiofile 1:0.3.6-42.fc43 Β· LGPL-2.1-or-later and GPL-2.0-or-later
- fedora 44: audiofile 1:0.3.6-44.fc44 Β· LGPL-2.1-or-later and GPL-2.0-or-later
- fedora 44: audiofile 1:0.3.6-44.fc44 Β· LGPL-2.1-or-later and GPL-2.0-or-later
- nixpkgs unstable: audiofile 0.3.6
- opensuse-leap 16.0: audiofile 0.3.6-bp160.1.13 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: audiofile 0.3.6-bp160.1.13 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: audiofile 0.3.6-bp160.1.13 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: audiofile 0.3.6-bp160.1.13 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms