fix default pitch, must now be a list
authorPaul Brossier <piem@altern.org>
Mon, 5 Sep 2005 00:06:55 +0000 (00:06 +0000)
committerPaul Brossier <piem@altern.org>
Mon, 5 Sep 2005 00:06:55 +0000 (00:06 +0000)
python/aubiopitch

index 64f2bac09d2ccc4c0bb2eedd80317faf809a3e13..44663abbf9e7b7d8b8ab3406f24d30d6a93de68e 100755 (executable)
@@ -18,7 +18,7 @@ def parse_args():
                           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",