shithub: aubio

Download patch

ref: bfe76d43a9472c451273e86db7cea7ef6291c513
parent: 77671b495368580dd89e9b910db4ef284d1fa9f6
author: Paul Brossier <piem@altern.org>
date: Sun Sep 4 20:06:55 EDT 2005

fix default pitch, must now be a list

--- a/python/aubiopitch
+++ b/python/aubiopitch
@@ -18,7 +18,7 @@
                           help="input sound file")
         parser.add_option("-m","--mode", action="callback", 
                           callback=check_pitch_mode, dest="mode", 
-                          default=aubio_pitch_mcomb,
+                          default=[aubio_pitch_mcomb],
                           help="pitch detection mode [default=mcomb] \
                           mcomb|yin|fcomb|schmitt")
         parser.add_option("-u","--units", action="callback",