History

removed numarray from aubio{cut,pitch}

Paul Brossier committed 21 years ago

Commit 97b8c3d1 parent 13340a62 files · +2 −4Browse files

Showing the changes to python (2 of 2 files). Show all

Unified · Split

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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t