Changes in python/demos/demo_filterbank.py [41121f5:4120fbc]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/demos/demo_filterbank.py
r41121f5 r4120fbc 2 2 3 3 from aubio import filterbank, fvec 4 from pylab import loglog, show, subplot,xlim, ylim, xlabel, ylabel, title4 from pylab import loglog, show, xlim, ylim, xlabel, ylabel, title 5 5 from numpy import vstack, arange 6 6 … … 20 20 f.set_coeffs(coeffs) 21 21 22 times = vstack([arange(win_s / 2 + 1) * samplerate / win_s] * n_filters)22 times = vstack([arange(win_s // 2 + 1) * samplerate / win_s] * n_filters) 23 23 title('Bank of filters built using a simple list of boundaries\nThe middle band has been amplified by 2.') 24 24 loglog(times.T, f.get_coeffs().T, '.-')
Note: See TracChangeset
for help on using the changeset viewer.