1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
|
'\" t
.\" Title: sfinfo
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
.\" Date: 04/30/2012
.\" Manual: \ \&
.\" Source: Audio File Library 0.3.4
.\" Language: English
.\"
.TH "SFINFO" "1" "04/30/2012" "Audio File Library 0\&.3\&.4" "\ \&"
.\" -----------------------------------------------------------------
.\" * 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, 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 <michael@68k\&.org>
|