shithub: aubio

Download patch

ref: 2d04b8612f7e5da67002f1956112ab9dc361ca07
parent: 220dcfc27f2eddcda1aef602d2508341636de4ca
author: Paul Brossier <piem@altern.org>
date: Mon Aug 8 21:56:27 EDT 2005

add kl and mkl, change default threshold

--- a/python/aubiocut
+++ b/python/aubiocut
@@ -40,16 +40,16 @@
         parser.add_option("-m","--mode", action="callback", 
                           callback=check_mode, dest="mode", default='dual', 
                           help="onset detection mode [default=dual] \
-                          complexdomain|hfc|phase|specdiff|energy|dual")
+                          complexdomain|hfc|phase|specdiff|energy|kl|mkl|dual")
         parser.add_option("-B","--bufsize",
                           action="store", dest="bufsize", default=1024, 
                           help="buffer size [default=1024]")
         parser.add_option("-H","--hopsize",
-                          action="store", dest="hopsize", default=512, 
-                          help="overlap size [default=512]")
+                          action="store", dest="hopsize", default=256, 
+                          help="overlap size [default=256]")
         parser.add_option("-t","--threshold",
-                          action="store", dest="threshold", default=0.3, 
-                          help="onset peak picking threshold [default=0.3]")
+                          action="store", dest="threshold", default=0.650, 
+                          help="onset peak picking threshold [default=0.650]")
         parser.add_option("-s","--silence",
                           action="store", dest="silence", default=-70, 
                           help="silence threshold [default=-70]")