projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fe738f1
)
python/demos/demo_onset_plot.py: remove unused import
author
Paul Brossier
<piem@piem.org>
Tue, 10 May 2016 21:00:09 +0000
(23:00 +0200)
committer
Paul Brossier
<piem@piem.org>
Tue, 10 May 2016 21:00:09 +0000
(23:00 +0200)
python/demos/demo_onset_plot.py
patch
|
blob
|
history
diff --git
a/python/demos/demo_onset_plot.py
b/python/demos/demo_onset_plot.py
index
5d59cb6
..
437baf7
100755
(executable)
--- a/
python/demos/demo_onset_plot.py
+++ b/
python/demos/demo_onset_plot.py
@@
-46,7
+46,6
@@
while True:
if 1:
# do plotting
if 1:
# do plotting
- from numpy import arange
import matplotlib.pyplot as plt
allsamples_max = (allsamples_max > 0) * allsamples_max
allsamples_max_times = [ float(t) * hop_s / downsample / samplerate for t in range(len(allsamples_max)) ]
import matplotlib.pyplot as plt
allsamples_max = (allsamples_max > 0) * allsamples_max
allsamples_max_times = [ float(t) * hop_s / downsample / samplerate for t in range(len(allsamples_max)) ]