| 1 |
'\" t |
| 2 |
.\" Title: sfinfo |
| 3 |
.\" Author: [see the "AUTHOR" section] |
| 4 |
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/> |
| 5 |
.\" Date: 03/06/2013 |
| 6 |
.\" Manual: \ \& |
| 7 |
.\" Source: Audio File Library 0.3.6 |
| 8 |
.\" Language: English |
| 9 |
.\" |
| 10 |
.TH "SFINFO" "1" "03/06/2013" "Audio File Library 0\&.3\&.6" "\ \&" |
| 11 |
.\" ----------------------------------------------------------------- |
| 12 |
.\" * Define some portability stuff |
| 13 |
.\" ----------------------------------------------------------------- |
| 14 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 15 |
.\" http://bugs.debian.org/507673 |
| 16 |
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html |
| 17 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 18 |
.ie \n(.g .ds Aq \(aq |
| 19 |
.el .ds Aq ' |
| 20 |
.\" ----------------------------------------------------------------- |
| 21 |
.\" * set default formatting |
| 22 |
.\" ----------------------------------------------------------------- |
| 23 |
.\" disable hyphenation |
| 24 |
.nh |
| 25 |
.\" disable justification (adjust text to left margin only) |
| 26 |
.ad l |
| 27 |
.\" ----------------------------------------------------------------- |
| 28 |
.\" * MAIN CONTENT STARTS HERE * |
| 29 |
.\" ----------------------------------------------------------------- |
| 30 |
.SH "NAME" |
| 31 |
sfinfo \- display information about audio files |
| 32 |
.SH "SYNOPSIS" |
| 33 |
.sp |
| 34 |
\fBsfinfo\fR [\fIoptions\fR] \fIaudio files\fR\&... |
| 35 |
.SH "DESCRIPTION" |
| 36 |
.sp |
| 37 |
sfinfo prints information about the specified audio files, including file format, sample rate, duration, and audio data format\&. |
| 38 |
.sp |
| 39 |
By default sfinfo displays information in a longer, multi\-line format; specifying the \-\-short or \-s option produces a short, single\-line summary\&. |
| 40 |
.sp |
| 41 |
Any files which are not recognized as valid audio files will be ignored unless the \-\-reporterror or \-r option is given\&. The file formats currently supported by sfinfo are 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\&. |
| 42 |
.SH "OPTIONS" |
| 43 |
.PP |
| 44 |
\-\-short, \-s |
| 45 |
.RS 4 |
| 46 |
Print short single\-line summary of each recognized audio file\&. |
| 47 |
.RE |
| 48 |
.PP |
| 49 |
\-\-reporterror, \-r |
| 50 |
.RS 4 |
| 51 |
Print an error message if any of the specified files are not recognized as valid audio files\&. |
| 52 |
.RE |
| 53 |
.PP |
| 54 |
\-\-help, \-h |
| 55 |
.RS 4 |
| 56 |
Print help message\&. |
| 57 |
.RE |
| 58 |
.PP |
| 59 |
\-\-version, \-v |
| 60 |
.RS 4 |
| 61 |
Print version information\&. |
| 62 |
.RE |
| 63 |
.SH "EXAMPLES" |
| 64 |
.sp |
| 65 |
Display summary of an audio file: |
| 66 |
.sp |
| 67 |
.if n \{\ |
| 68 |
.RS 4 |
| 69 |
.\} |
| 70 |
.nf |
| 71 |
% sfinfo drum\&.aiff |
| 72 |
File Name drum\&.aiff |
| 73 |
File Format Audio Interchange File Format (aiff) |
| 74 |
Data Format 16\-bit integer (2\*(Aqs complement, big endian) |
| 75 |
Audio Data 1569972 bytes begins at offset 54 (36 hex) |
| 76 |
2 channels, 392493 frames |
| 77 |
Sampling Rate 44100\&.00 Hz |
| 78 |
Duration 8\&.900 seconds |
| 79 |
.fi |
| 80 |
.if n \{\ |
| 81 |
.RE |
| 82 |
.\} |
| 83 |
.sp |
| 84 |
List all recognized audio files in the current directory using the short output format: |
| 85 |
.sp |
| 86 |
.if n \{\ |
| 87 |
.RS 4 |
| 88 |
.\} |
| 89 |
.nf |
| 90 |
% sfinfo \-s * |
| 91 |
9\&.60s 44100\&.00 aiff 1ch 16b \-\- bass\&.aiff |
| 92 |
8\&.90s 44100\&.00 aiff 2ch 16b \-\- drum\&.aiff |
| 93 |
.fi |
| 94 |
.if n \{\ |
| 95 |
.RE |
| 96 |
.\} |
| 97 |
.SH "SEE ALSO" |
| 98 |
.sp |
| 99 |
\fBsfconvert\fR(1) |
| 100 |
.SH "AUTHOR" |
| 101 |
.sp |
| 102 |
Michael Pruett <michael@68k\&.org> |