from pylab import loglog, title, show, xlim, ylim, xlabel, ylabel
xlim([0,samplerate / 2])
-print f.get_coeffs().shape
times = vstack([arange(win_s / 2 + 1) * samplerate / win_s] * 40)
-print times.shape
loglog(times.T, f.get_coeffs().T, '.-')
title('Mel frequency bands coefficients')
xlim([100, 7500])
ylim([1.0e-3, 2.0e-2])
-xlabel('frequency (Hz)')
-ylabel('amplitude')
+xlabel('Frequency (Hz)')
+ylabel('Amplitude')
show()
loglog(times.T, f.get_coeffs().T, '.-')
xlim([50, samplerate/2])
ylim([1.0e-6, 2.0e-2])
-ylabel('amplitude')
+ylabel('Amplitude')
## build a new filterbank
loglog(times.T, f.get_coeffs().T, '.-')
xlim([50, samplerate/2])
ylim([1.0e-6, 2.0e-2])
-xlabel('frequency (Hz)')
-ylabel('amplitude')
+xlabel('Frequency (Hz)')
+ylabel('Amplitude')
show()