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