Changeset f264b17 for python/demos/demo_filterbank_slaney.py
- Timestamp:
- Jun 22, 2016, 1:00:10 PM (8 years ago)
- 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:
- 4b9443c4
- Parents:
- 60fc05b (diff), 6769586 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/demos/demo_filterbank_slaney.py
r60fc05b rf264b17 2 2 3 3 from aubio import filterbank 4 from numpy import ar ray, arange, vstack4 from numpy import arange, vstack 5 5 6 6 win_s = 8192 … … 12 12 from pylab import loglog, title, show, xlim, ylim, xlabel, ylabel 13 13 xlim([0,samplerate / 2]) 14 times = vstack([arange(win_s / 2 + 1) * samplerate / win_s] * 40)14 times = vstack([arange(win_s // 2 + 1) * samplerate / win_s] * 40) 15 15 loglog(times.T, f.get_coeffs().T, '.-') 16 16 title('Mel frequency bands coefficients')
Note: See TracChangeset
for help on using the changeset viewer.