From: Paul Brossier Date: Wed, 11 Jul 2012 01:42:40 +0000 (-0600) Subject: demo_filterbank.py: use a vector, not a list X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=39e6f8431e0ae9e9afd2ae5f7c136ce2bc3e0ec8;p=aubio.git demo_filterbank.py: use a vector, not a list --- diff --git a/interfaces/python/demo_filterbank.py b/interfaces/python/demo_filterbank.py index 40962bfc..19c09af7 100644 --- 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(freqs, 48000) f.get_coeffs().T from pylab import loglog, show