shithub: aubio

Download patch

ref: 9bf3831270c11869109e137d5b67dbb8378200f7
parent: f647e820dd153d6271f2c66c9a7d320e9e4cfe26
author: Paul Brossier <piem@altern.org>
date: Thu May 18 06:29:20 EDT 2006

update dcthreshold
update dcthreshold


--- a/python/aubiocut
+++ b/python/aubiocut
@@ -29,8 +29,8 @@
                           action="store", dest="threshold", default=0.650, 
                           help="onset peak picking threshold [default=0.650]")
         parser.add_option("-C","--dcthreshold",
-                          action="store", dest="dcthreshold", default=-1., 
-                          help="onset peak picking DC component [default=-1.]")
+                          action="store", dest="dcthreshold", default=1., 
+                          help="onset peak picking DC component [default=1.]")
         parser.add_option("-s","--silence",
                           action="store", dest="silence", default=-70, 
                           help="silence threshold [default=-70]")