shithub: aubio

Download patch

ref: 3cd243456ba97dae6fe6162eb6a6872e250b0d8c
parent: 10a6f7d1b9567bbcd521c3f92d8fab2b421879c7
author: Paul Brossier <piem@piem.org>
date: Sun Jul 15 12:43:28 EDT 2012

interfaces/python/demo_filterbank_*: capitalize titles

--- a/interfaces/python/demo_filterbank_slaney.py
+++ b/interfaces/python/demo_filterbank_slaney.py
@@ -11,13 +11,11 @@
 
 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()
--- a/interfaces/python/demo_filterbank_triangle_bands.py
+++ b/interfaces/python/demo_filterbank_triangle_bands.py
@@ -20,7 +20,7 @@
 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
 
@@ -41,7 +41,7 @@
 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()