Changeset 155cc10 for python/demos/demo_filterbank_triangle_bands.py
- Timestamp:
- Mar 10, 2017, 2:26:32 PM (7 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, sampler
- Children:
- ee8a57c
- Parents:
- 00d0275 (diff), 67b6618 (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_triangle_bands.py
r00d0275 r155cc10 17 17 subplot(211) 18 18 title('Examples of filterbank built with set_triangle_bands and set_coeffs') 19 times = vstack([arange(win_s / 2 + 1) * samplerate / win_s] * n_filters)19 times = vstack([arange(win_s // 2 + 1) * samplerate / win_s] * n_filters) 20 20 loglog(times.T, f.get_coeffs().T, '.-') 21 21 xlim([50, samplerate/2]) … … 38 38 39 39 subplot(212) 40 times = vstack([arange(win_s / 2 + 1) * samplerate / win_s] * n_filters)40 times = vstack([arange(win_s // 2 + 1) * samplerate / win_s] * n_filters) 41 41 loglog(times.T, f.get_coeffs().T, '.-') 42 42 xlim([50, samplerate/2])
Note: See TracChangeset
for help on using the changeset viewer.