1SFINFO(1) SFINFO(1)
2
3
4
6 sfinfo - display information about audio files
7
9 sfinfo [options] audio files...
10
12 sfinfo prints information about the specified audio files, including
13 file format, sample rate, duration, and audio data format.
14
15 By default sfinfo displays information in a longer, multi-line format;
16 specifying the --short or -s option produces a short, single-line
17 summary.
18
19 Any files which are not recognized as valid audio files will be ignored
20 unless the --reporterror or -r option is given. The file formats
21 currently supported by sfinfo are AIFF, AIFF-C, NeXT/Sun .snd/.au,
22 WAVE, Berkeley/IRCAM/CARL Sound File, AVR, Amiga IFF/8SVX, Sample
23 Vision, Creative Voice File, NIST SPHERE, and Core Audio Format.
24
26 --short, -s
27 Print short single-line summary of each recognized audio file.
28
29 --reporterror, -r
30 Print an error message if any of the specified files are not
31 recognized as valid audio files.
32
33 --help, -h
34 Print help message.
35
36 --version, -v
37 Print version information.
38
40 Display summary of an audio file:
41
42 % sfinfo drum.aiff
43 File Name drum.aiff
44 File Format Audio Interchange File Format (aiff)
45 Data Format 16-bit integer (2's complement, big endian)
46 Audio Data 1569972 bytes begins at offset 54 (36 hex)
47 2 channels, 392493 frames
48 Sampling Rate 44100.00 Hz
49 Duration 8.900 seconds
50
51 List all recognized audio files in the current directory using the
52 short output format:
53
54 % sfinfo -s *
55 9.60s 44100.00 aiff 1ch 16b -- bass.aiff
56 8.90s 44100.00 aiff 2ch 16b -- drum.aiff
57
59 sfconvert(1)
60
62 Michael Pruett <michael@68k.org>
63
64
65
66Audio File Library 0.3.6 03/06/2013 SFINFO(1)