Displays information from the header of a given audio file or files.
Supported audio file types are listed and described in
soxformat(7).
Note however, that
soxi
is intended for use only with audio files with a self-describing header.
By default, as much information as is available is shown.
An option may be given to select just a single piece of information
(perhaps for use in a script or batch-file).
Used with multiple files; changes the behaviour of
-s,
-d
and
-D
to display the total across all given files.
Note that when used with
-s
with files with different sampling rates, this is of questionable value.
-t
Show detected file-type.
-r
Show sample-rate.
-c
Show number of channels.
-s
Show number of samples (0 if unavailable).
-d
Show duration in hours, minutes and seconds (0 if unavailable).
Equivalent to number of samples divided by the sample-rate.
-D
Show duration in seconds (0 if unavailable).
-b
Show number of bits per sample.
-B
Show the bitrate averaged over the whole file (0 if unavailable).
Copyright 2008-9 by Chris Bagwell and SoX Contributors.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
AUTHORS
Chris Bagwell (cbagwell@users.sourceforge.net).
Other authors and contributors are listed in the ChangeLog file that
is distributed with the source code.