shithub: sox

Download patch

ref: c56f9e470d243b97091187a770146fcdb3f5a22f
parent: 6a4089121199cdf117c097f80a4404c14e158fa2
author: cbagwell <cbagwell>
date: Mon Dec 13 14:31:54 EST 1999

Minor document updates for new filters.

--- a/TODO
+++ b/TODO
@@ -1,14 +1,7 @@
 People are encouraged to pick some of these and implement it.  Send
 all patches to cbagwell@sprynet.com.
 
-  o I've add the most common and public standard FormatTags to the
-    .wav file detection.  A lot of them should be implemented since
-    you can grab the source code from the .au handler and software
-    is avaliable from public sources for the rest.
-
-  o highpass and lowpass filters don't let you specify the cut
-    of freq.  Need some improvements to these filters.
-    SJB: The old highp.c filter is IMHO broken, need to review that code.
+  o SJB: The old highp.c filter is IMHO broken, need to review that code.
 
   o Create a version of OSS and Sun driver that can play and record from the
     same device in duplex.
--- a/sox.1
+++ b/sox.1
@@ -50,10 +50,14 @@
 .br
 	band \fB[ \fI-n \fB] \fIcenter \fB[ \fIwidth\fB ]
 .br
+	bandpass \fIfrequency bandwidth\fB
+.br
+	bandreject \fIfrequency bandwidth\fB
+.br
  	check 
 .br
 	chorus \fIgain-in gain out delay decay speed depth
-		-s\fB | \fI-t\fB [ \fIdelay decay speed depth -s\fB | -fI-t\fB ]
+		-s\fB | \fI-t\fB [ \fIdelay decay speed depth -s\fB | \fI-t\fB ]
 .br
 	compand \fIattack1,decay1\fB[,\fIattack2,decay2\fB...]
              \fIin-dB1,out-dB1\fB[,\fIin-dB2,out-dB2\fB...]
@@ -71,12 +75,16 @@
 .br
 	filter \fB[ \fIlow\fB ]\fI-\fB[ \fIhigh\fB ] [ \fIwindow-len\fB [ \fIbeta\fB ]]
 .br
-	flanger \fIgain-in gain-out delay decay speed -s\fB | -fI-t\fB
+	flanger \fIgain-in gain-out delay decay speed -s\fB | \fI-t\fB
 .br
 	highp \fIcenter\fB
 .br
+	highpass \fIfrequency\fB
+.br
 	lowp \fIcenter\fB
 .br
+	lowpass \fIfrequency\fB
+.br
 	map
 .br
 	mask
@@ -536,10 +544,10 @@
 frequency and settling around it.
 See \fBfilter\fR for a bandpass effect with steeper shoulders.
 .TP 10
-bandpass
+bandpass \fIfrequency bandwidth\fB
 Butterworth bandpass filter. Description coming soon!
 .TP 10
-bandreject
+bandreject \fIfrequency bandwidth\fB
 Butterworth bandreject filter.  Description coming soon!
 .TP
 chorus \fIgain-in gain-out delay decay speed depth 
@@ -639,7 +647,7 @@
 The slope of the filter is quite gentle.
 See \fBfilter\fR for a highpass effect with sharper cutoff.
 .TP 10
-highpass
+highpass \fIfrequency\fB
 Butterworth highpass filter.  Description comming soon!
 .TP 10
 lowp \fIcenter
@@ -650,7 +658,7 @@
 The slope of the filter is quite gentle.
 See \fBfilter\fR for a lowpass effect with sharper cutoff.
 .TP 10
-lowpass
+lowpass \fIfrequency\fB
 Butterworth lowpass filter.  Description coming soon!
 .TP 10
 map