projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
973206a
)
demos/demo_onset.py: simplify imports
author
Paul Brossier
<piem@piem.org>
Fri, 8 Mar 2013 19:38:45 +0000
(14:38 -0500)
committer
Paul Brossier
<piem@piem.org>
Fri, 8 Mar 2013 19:38:45 +0000
(14:38 -0500)
python/demos/demo_onset.py
patch
|
blob
|
history
diff --git
a/python/demos/demo_onset.py
b/python/demos/demo_onset.py
index 75c6f1c54f9cabb24f1ea97864f4bb3f9c609112..55b3c695504ea750c9a7cd7509edd084f19e4ec2 100755
(executable)
--- a/
python/demos/demo_onset.py
+++ b/
python/demos/demo_onset.py
@@
-1,8
+1,7
@@
#! /usr/bin/env python
import sys
-from aubio import onset, source
-from numpy import array, hstack, zeros
+from aubio import source, onset
win_s = 512 # fft size
hop_s = win_s / 2 # hop size