SFINFO(1)

πŸ“¦
version 0.3.6 Β· 2 versions
, in alpine 3.24, arch rolling, epel 10, epel 9, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0

πŸ’… 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