From 39e6f8431e0ae9e9afd2ae5f7c136ce2bc3e0ec8 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Tue, 10 Jul 2012 19:42:40 -0600 Subject: [PATCH] demo_filterbank.py: use a vector, not a list --- interfaces/python/demo_filterbank.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2