projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd72039
)
python/lib/aubio/cut.py: remove unused imports
author
Paul Brossier
<piem@piem.org>
Thu, 23 Mar 2017 14:22:33 +0000
(15:22 +0100)
committer
Paul Brossier
<piem@piem.org>
Thu, 23 Mar 2017 14:22:33 +0000
(15:22 +0100)
python/lib/aubio/cut.py
patch
|
blob
|
history
diff --git
a/python/lib/aubio/cut.py
b/python/lib/aubio/cut.py
index
f8bbef4
..
8ca4109
100644
(file)
--- a/
python/lib/aubio/cut.py
+++ b/
python/lib/aubio/cut.py
@@
-132,7
+132,6
@@
def parse_args():
help="be quiet")
(options, args) = parser.parse_args()
if not options.source_file:
- import os.path
if len(args) == 1:
options.source_file = args[0]
else:
@@
-148,7
+147,7
@@
def main():
samplerate = options.samplerate
source_file = options.source_file
- from aubio import onset, tempo, source
, sink
+ from aubio import onset, tempo, source
s = source(source_file, samplerate, hopsize)
if samplerate == 0: samplerate = s.get_samplerate()