Showing the changes to python (2 of 2 files). Show all
Unified · Split
| @@ -5,7 +5,6 @@ · 4 unmodified lines | ||
| 5 | 5 | """ |
| 6 | 6 | |
| 7 | 7 | import sys |
| 8 | −import numarray | |
| 9 | 8 | from aubio.aubioclass import * |
| 10 | 9 | |
| 11 | 10 | usage = "usage: %s [options] -i soundfile" % sys.argv[0] |
| @@ -6,7 +6,6 @@ · 5 unmodified lines | ||
| 6 | 6 | |
| 7 | 7 | |
| 8 | 8 | import sys |
| 9 | −import numarray | |
| 10 | 9 | from aubio.aubioclass import * |
| 11 | 10 | |
| 12 | 11 | usage = "usage: %s [options] -i soundfile" % sys.argv[0] |
| @@ -30,8 +29,8 @@ def parse_args(): · 17 unmodified lines | ||
| 30 | 29 | action="store", dest="filename", |
| 31 | 30 | help="input sound file") |
| 32 | 31 | parser.add_option("-m","--mode", action="callback", |
| 33 | − callback=check_mode, dest="mode", default=aubio_schmitt, | |
| 34 | − help="pitch detection mode [default=dual] \ | |
| 32 | + callback=check_mode, dest="mode", default=aubio_mcomb, | |
| 33 | + help="pitch detection mode [default=mcomb] \ | |
| 35 | 34 | mcomb|yin|fcomb|schmitt") |
| 36 | 35 | parser.add_option("-B","--bufsize", |
| 37 | 36 | action="store", dest="bufsize", default=1024, |