|
From: robs <ro...@us...> - 2008-03-16 20:57:05
|
Update of /cvsroot/sox/sox In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv10493 Modified Files: sox.1 Log Message: allow, e.g., -r 6k Index: sox.1 =================================================================== RCS file: /cvsroot/sox/sox/sox.1,v retrieving revision 1.213 retrieving revision 1.214 diff -u -d -r1.213 -r1.214 --- sox.1 9 Mar 2008 21:46:49 -0000 1.213 +++ sox.1 16 Mar 2008 20:56:58 -0000 1.214 @@ -80,13 +80,13 @@ .EE translates an audio file in Sun AU format to a Microsoft WAV file, whilst: .EX - sox recital.au -r 12000 -1 -c 1 recital.wav vol 0.7 dither + sox recital.au -r 12k -1 -c 1 recital.wav vol 0.7 dither .EE performs the same format translation, but also changes the audio sampling rate & sample size, down-mixes to mono, and applies the \fBvol\fR and \fBdither\fR effects. .EX - sox -r 8000 -u -1 -c 1 voice-memo.raw voice-memo.wav + sox -r 8k -u -1 -c 1 voice-memo.raw voice-memo.wav .EE adds a header to a raw audio file, .EX @@ -679,8 +679,9 @@ effect is not specified on the command line it will be invoked internally with default parameters. .TP -\fB\-r, \fB\-\-rate\fR \fIRATE\fR -Gives the sample rate in Hz of the file. To cause the output file to have +\fB\-r, \fB\-\-rate\fR \fIRATE\fR[\fBk\fR] +Gives the sample rate in Hz (or kHz if appended with `k') of the file. +To cause the output file to have a different sample rate than the input file, include this option with the output file format options. .SP |