shithub: sox

Download patch

ref: 02332931703298328cfb3287ef7ab71b86d0c408
parent: bde4a1f41cd7f6af7123cc9ed443134e1e84dbe2
author: cbagwell <cbagwell>
date: Mon Mar 26 20:32:51 EDT 2007

Updating silence usage.

--- a/sox.1
+++ b/sox.1
@@ -1856,7 +1856,7 @@
 Reverse the audio completely.
 Requires disk space to store the data to be reversed.
 .TP
-\fBsilence [\fB\-l\fR] \fIabove-periods\fR [\fIduration threshold\fR[\fBd\fR\^|\^\fB%\fR] [\fIbelow-periods duration threshold\fR[\fBd\fR\^|\^\fB%\fR]]
+\fBsilence \fR[\fB\-l\fR] \fIabove-periods\fR [\fIduration threshold\fR[\fBd\fR\^|\^\fB%\fR] [\fIbelow-periods duration threshold\fR[\fBd\fR\^|\^\fB%\fR]]
 .SP
 Removes silence from the beginning, middle, or end of the audio.  Silence is anything below a specified threshold.
 .SP
--- a/src/silence.c
+++ b/src/silence.c
@@ -716,7 +716,7 @@
 
 static sox_effect_t sox_silence_effect = {
   "silence",
-  "Usage: silence above_periods [ duration thershold[d | %% ] ] [ below_periods duration threshold[ d | %% ]]",
+  "Usage: silence [ -l ] above_periods [ duration thershold[d|%%] ] [ below_periods duration threshold[d|%%]]",
   SOX_EFF_MCHAN,
   sox_silence_getopts,
   sox_silence_start,