Changeset 3cd2434


Ignore:
Timestamp:
Jul 16, 2012, 12:43:28 AM (12 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
614963a, 7359775
Parents:
10a6f7d
Message:

interfaces/python/demo_filterbank_*: capitalize titles

Location:
interfaces/python
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • interfaces/python/demo_filterbank_slaney.py

    r10a6f7d r3cd2434  
    1212from pylab import loglog, title, show, xlim, ylim, xlabel, ylabel
    1313xlim([0,samplerate / 2])
    14 print f.get_coeffs().shape
    1514times = vstack([arange(win_s / 2 + 1) * samplerate / win_s] * 40)
    16 print times.shape
    1715loglog(times.T, f.get_coeffs().T, '.-')
    1816title('Mel frequency bands coefficients')
    1917xlim([100, 7500])
    2018ylim([1.0e-3, 2.0e-2])
    21 xlabel('frequency (Hz)')
    22 ylabel('amplitude')
     19xlabel('Frequency (Hz)')
     20ylabel('Amplitude')
    2321show()
  • interfaces/python/demo_filterbank_triangle_bands.py

    r10a6f7d r3cd2434  
    2121xlim([50, samplerate/2])
    2222ylim([1.0e-6, 2.0e-2])
    23 ylabel('amplitude')
     23ylabel('Amplitude')
    2424
    2525## build a new filterbank
     
    4242xlim([50, samplerate/2])
    4343ylim([1.0e-6, 2.0e-2])
    44 xlabel('frequency (Hz)')
    45 ylabel('amplitude')
     44xlabel('Frequency (Hz)')
     45ylabel('Amplitude')
    4646
    4747show()
Note: See TracChangeset for help on using the changeset viewer.