'\" t
.\" Title: sfinfo
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.76.1
.\" Date: 03/06/2013
.\" Manual: \ \&
.\" Source: Audio File Library 0.3.6
.\" Language: English
.\"
.TH "SFINFO" "1" "03/06/2013" "Audio File Library 0\&.3\&.6" "\ \&"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
sfinfo \- display information about audio files
.SH "SYNOPSIS"
.sp
\fBsfinfo\fR [\fIoptions\fR] \fIaudio files\fR\&...
.SH "DESCRIPTION"
.sp
sfinfo prints information about the specified audio files, including file format, sample rate, duration, and audio data format\&.
.sp
By default sfinfo displays information in a longer, multi\-line format; specifying the \-\-short or \-s option produces a short, single\-line summary\&.
.sp
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\&.
.SH "OPTIONS"
.PP
\-\-short, \-s
.RS 4
Print short single\-line summary of each recognized audio file\&.
.RE
.PP
\-\-reporterror, \-r
.RS 4
Print an error message if any of the specified files are not recognized as valid audio files\&.
.RE
.PP
\-\-help, \-h
.RS 4
Print help message\&.
.RE
.PP
\-\-version, \-v
.RS 4
Print version information\&.
.RE
.SH "EXAMPLES"
.sp
Display summary of an audio file:
.sp
.if n \{\
.RS 4
.\}
.nf
% sfinfo drum\&.aiff
File Name drum\&.aiff
File Format Audio Interchange File Format (aiff)
Data Format 16\-bit integer (2\*(Aqs 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
.fi
.if n \{\
.RE
.\}
.sp
List all recognized audio files in the current directory using the short output format:
.sp
.if n \{\
.RS 4
.\}
.nf
% sfinfo \-s *
9\&.60s 44100\&.00 aiff 1ch 16b \-\- bass\&.aiff
8\&.90s 44100\&.00 aiff 2ch 16b \-\- drum\&.aiff
.fi
.if n \{\
.RE
.\}
.SH "SEE ALSO"
.sp
\fBsfconvert\fR(1)
.SH "AUTHOR"
.sp
Michael Pruett