shithub: aubio

Download patch

ref: 97b8c3d3dcad65ae6bf73d01166802374c2fc965
parent: 13340a68093f6c0fb0b3887be9a0085b74874e71
author: Paul Brossier <piem@altern.org>
date: Mon Jun 6 11:01:21 EDT 2005

removed numarray from aubio{cut,pitch}

--- a/python/aubiocut
+++ b/python/aubiocut
@@ -5,7 +5,6 @@
 """
 
 import sys
-import numarray
 from aubio.aubioclass import *
 
 usage = "usage: %s [options] -i soundfile" % sys.argv[0]
--- a/python/aubiopitch
+++ b/python/aubiopitch
@@ -6,7 +6,6 @@
 
 
 import sys
-import numarray
 from aubio.aubioclass import *
 
 usage = "usage: %s [options] -i soundfile" % sys.argv[0]
@@ -30,8 +29,8 @@
                           action="store", dest="filename", 
                           help="input sound file")
         parser.add_option("-m","--mode", action="callback", 
-                          callback=check_mode, dest="mode", default=aubio_schmitt, 
-                          help="pitch detection mode [default=dual] \
+                          callback=check_mode, dest="mode", default=aubio_mcomb,
+                          help="pitch detection mode [default=mcomb] \
                           mcomb|yin|fcomb|schmitt")
         parser.add_option("-B","--bufsize",
                           action="store", dest="bufsize", default=1024,