version 1, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
SFCONVERT |
|
|
2 |
!!!SFCONVERT |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
SEE ALSO |
|
|
8 |
AUTHOR |
|
|
9 |
---- |
|
|
10 |
!!NAME |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
sfconvert - convert between various audio formats |
|
|
14 |
!!SYNOPSIS |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
__sfconvert__ ''infile outfile'' [[ ''options ...'' |
|
|
18 |
] [[ ''output keywords ...'' ] |
|
|
19 |
!!DESCRIPTION |
|
|
20 |
|
|
|
21 |
|
|
|
22 |
The __sfconvert__ tool can be used to convert audio files |
|
|
23 |
from one audio format to another. The files' audio formats |
|
|
24 |
have to be supported by __libaudiofile__. |
|
|
25 |
!!OPTIONS |
|
|
26 |
|
|
|
27 |
|
|
|
28 |
The following keywords specify the format of the output |
|
|
29 |
sound file: |
|
|
30 |
|
|
|
31 |
|
|
|
32 |
__byteorder__ ''e'' |
|
|
33 |
|
|
|
34 |
|
|
|
35 |
Desired endianness of output sample data. ''e'' may be |
|
|
36 |
one of __big__ or __little__. |
|
|
37 |
|
|
|
38 |
|
|
|
39 |
__channels__ ''n'' |
|
|
40 |
|
|
|
41 |
|
|
|
42 |
Number of output channels. ''n'' is __1__ for mono, |
|
|
43 |
and __2__ for stereo files. |
|
|
44 |
|
|
|
45 |
|
|
|
46 |
__format__ ''f'' |
|
|
47 |
|
|
|
48 |
|
|
|
49 |
Audio format of output file. ''f'' has to be one of the |
|
|
50 |
currently supported formats: __aiff__ (Audio Interchange |
|
|
51 |
File Format), __aifc__ (AIFF-C File Format), __next__ |
|
|
52 |
(NeXT/Sun Format), __wave__ (MS RIFF WAVE Format), or |
|
|
53 |
__bics__ (Berkeley/IRCAM/CARL Sound File |
|
|
54 |
Format). |
|
|
55 |
|
|
|
56 |
|
|
|
57 |
__integer__ ''n s'' |
|
|
58 |
|
|
|
59 |
|
|
|
60 |
Produce integer samples. ''n'' specifies the width of |
|
|
61 |
individual samples in bits, ''s'' yields the encoding and |
|
|
62 |
may be one of __2scomp__ (2's complement signed data), or |
|
|
63 |
__unsigned__ (unsigned data). The __integer__ and |
|
|
64 |
__float__ options (see below) are mutually |
|
|
65 |
exclusive. |
|
|
66 |
|
|
|
67 |
|
|
|
68 |
__float__ ''m'' |
|
|
69 |
|
|
|
70 |
|
|
|
71 |
Produce floating point samples with a maximum amplitude of |
|
|
72 |
''m'' (usually __1.0__). This options may not be used |
|
|
73 |
together with option __integer__. |
|
|
74 |
!!SEE ALSO |
|
|
75 |
|
|
|
76 |
|
|
|
77 |
sfinfo(1). |
|
|
78 |
!!AUTHOR |
|
|
79 |
|
|
|
80 |
|
|
|
81 |
__sfconvert__ was written by Michael Pruett |
|
|
82 |
__ |
|
|
83 |
|
|
|
84 |
|
|
|
85 |
This manual page was written by Daniel Kobras |
|
|
86 |
---- |