projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
988f580
)
demo_filterbank.py: use a vector, not a list
author
Paul Brossier
<piem@piem.org>
Wed, 11 Jul 2012 01:42:40 +0000
(19:42 -0600)
committer
Paul Brossier
<piem@piem.org>
Wed, 11 Jul 2012 01:42:40 +0000
(19:42 -0600)
interfaces/python/demo_filterbank.py
patch
|
blob
|
history
diff --git
a/interfaces/python/demo_filterbank.py
b/interfaces/python/demo_filterbank.py
index 40962bfc04017396a9b88f8e949b5e42520461ad..19c09af758fd7283cdca69a8d6f986de45d92254 100644
(file)
--- a/
interfaces/python/demo_filterbank.py
+++ b/
interfaces/python/demo_filterbank.py
@@
-3,7
+3,7
@@
from aubio import filterbank, fvec
f = filterbank(9, 1024)
freq_list = [60, 80, 200, 400, 800, 1600, 3200, 6400, 12800, 15000, 24000]
freqs = fvec(freq_list)
-f.set_triangle_bands(freq
_list
, 48000)
+f.set_triangle_bands(freq
s
, 48000)
f.get_coeffs().T
from pylab import loglog, show