Oreon-Lime-R2/audiofile/audiofile-0.3.6/docs/sfconvert.1

215 lines
3.2 KiB
Groff

'\" t
.\" Title: sfconvert
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
.\" Date: 03/06/2013
.\" Manual: \ \&
.\" Source: Audio File Library 0.3.6
.\" Language: English
.\"
.TH "SFCONVERT" "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"
sfconvert \- convert audio files
.SH "SYNOPSIS"
.sp
\fBsfconvert\fR \fIinfile\fR \fIoutfile\fR [\fIoutput options\fR]
.SH "DESCRIPTION"
.sp
The sfconvert command converts an audio file to another file format or data format\&.
.SH "OPTIONS"
.sp
The following keywords specify the format of the output sound file:
.PP
format \fIf\fR
.RS 4
Output file format\&.
\fIf\fR
must be one of the following:
.TS
tab(:);
lt lt
lt lt
lt lt
lt lt
lt lt
lt lt
lt lt
lt lt
lt lt
lt lt.
T{
aiff
T}:T{
Audio Interchange File Format
T}
T{
aifc
T}:T{
AIFF\-C
T}
T{
next
T}:T{
NeXT/Sun \&.snd/\&.au Format
T}
T{
wave
T}:T{
MS RIFF WAVE
T}
T{
bicsf
T}:T{
Berkeley/IRCAM/CARL Sound File Format
T}
T{
smp
T}:T{
Sample Vision Format
T}
T{
voc
T}:T{
Creative Voice File Format
T}
T{
nist
T}:T{
NIST SPHERE Format
T}
T{
caf
T}:T{
Core Audio Format
T}
T{
flac
T}:T{
FLAC
T}
.TE
.sp 1
.RE
.PP
compression \fIc\fR
.RS 4
.TS
tab(:);
lt lt
lt lt
lt lt
lt lt
lt lt
lt lt.
T{
ulaw
T}:T{
G\&.711 mu\-law
T}
T{
alaw
T}:T{
G\&.711 A\-law
T}
T{
ima
T}:T{
IMA ADPCM
T}
T{
msadpcm
T}:T{
Microsoft ADPCM
T}
T{
flac
T}:T{
FLAC
T}
T{
alac
T}:T{
Apple Lossless Audio Codec
T}
.TE
.sp 1
.RE
.PP
byteorder \fIe\fR
.RS 4
Output byte order\&.
\fIe\fR
may be either
big
or
little\&.
.RE
.PP
channels \fIn\fR
.RS 4
Number of output channels\&.
\fIn\fR
is 1 for mono, and 2 for stereo\&.
.RE
.PP
integer \fIn\fR \fIs\fR
.RS 4
Convert to integer audio data\&.
\fIn\fR
indicates the output sample width in bits\&.
\fIs\fR
specifies the sample format and may be either
2scomp
for 2\(cqs complement signed data or
unsigned
for unsigned data\&.
.RE
.PP
float \fIm\fR
.RS 4
Convert to floating\-point audio data with a maximum amplitude of
\fIm\fR
(usually
1\&.0)\&. The
integer
and
float
options are mutually exclusive\&.
.RE
.sp
The following options take no additional arguments:
.PP
\-\-help, \-h
.RS 4
Print help message\&.
.RE
.PP
\-\-version, \-v
.RS 4
Print version information\&.
.RE
.SH "SEE ALSO"
.sp
\fBsfinfo\fR(1)
.SH "AUTHOR"
.sp
Michael Pruett <michael@68k\&.org>