ref: 39e6f8431e0ae9e9afd2ae5f7c136ce2bc3e0ec8
parent: 988f580a00df5c56efb55f5d6ee5cb00f815fa6b
author: Paul Brossier <piem@piem.org>
date: Tue Jul 10 15:42:40 EDT 2012
demo_filterbank.py: use a vector, not a list
--- a/interfaces/python/demo_filterbank.py
+++ b/interfaces/python/demo_filterbank.py
@@ -3,7 +3,7 @@
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(freqs, 48000)
f.get_coeffs().T
from pylab import loglog, show