shithub: aubio

Download patch

ref: d2823735526b3b6ca18d5ea549daff4fd4a673d3
parent: b1aab3ab24ee0280d560f118a473a168188fe815
author: Paul Brossier <piem@altern.org>
date: Sun Nov 6 06:18:51 EST 2005

make default mode be a list, make world executable
make default mode be a list, make world executable


--- a/python/aubiocut
+++ b/python/aubiocut
@@ -16,7 +16,7 @@
                           action="store", dest="filename", 
                           help="input sound file")
         parser.add_option("-m","--mode", action="callback", 
-                          callback=check_onset_mode, dest="mode", default='dual', 
+                          callback=check_onset_mode, dest="mode", default=['dual'], 
                           help="onset detection mode [default=dual] \
                           complexdomain|hfc|phase|specdiff|energy|kl|mkl|dual")
         parser.add_option("-B","--bufsize",