File: sfinfo.1.txt

package info (click to toggle)
audiofile 0.3.4-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,192 kB
  • sloc: cpp: 31,691; sh: 11,006; ansic: 3,773; makefile: 271
file content (76 lines) | stat: -rw-r--r-- 1,737 bytes parent folder | download
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
sfinfo(1)
=========

NAME
----
sfinfo - display information about audio files

SYNOPSIS
--------
*sfinfo* ['options'] 'audio files'...

DESCRIPTION
-----------
`sfinfo` prints information about the specified audio files, including
file format, sample rate, duration, and audio data format.

By default `sfinfo` displays information in a longer, multi-line format;
specifying the --short or -s option produces a short, single-line summary.

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.

OPTIONS
-------

`--short`::
`-s`::
Print short single-line summary of each recognized audio file.

`--reporterror`::
`-r`::
Print an error message if any of the specified files are not recognized
as valid audio files.

`--help`::
`-h`::
Print help message.

`--version`::
`-v`::
Print version information.

EXAMPLES
--------
Display summary of an audio file:

----
% sfinfo drum.aiff
File Name      drum.aiff
File Format    Audio Interchange File Format (aiff)
Data Format    16-bit integer (2's 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
----

List all recognized audio files in the current directory using
the short output format:

----
% sfinfo -s *
    9.60s 44100.00 aiff  1ch 16b -- bass.aiff
    8.90s 44100.00 aiff  2ch 16b -- drum.aiff
----

SEE ALSO
--------
linkaf:sfconvert[1]

AUTHOR
------
Michael Pruett <michael@68k.org>