Changeset 581c8b5
- Timestamp:
- Dec 3, 2018, 3:00:40 PM (6 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
- Children:
- 8affe8c
- Parents:
- bde4f641
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/tests/test_mfcc.py
rbde4f641 r581c8b5 117 117 buf_size, n_filters, n_coeffs, samplerate = 512, 20, 10, 16000 118 118 m = mfcc(buf_size, n_filters, n_coeffs, samplerate) 119 m.set_scale(10.) 119 m.set_scale(10.5) 120 assert m.get_scale() == 10.5 120 121 m(cvec(buf_size)) 121 122 … … 123 124 buf_size, n_filters, n_coeffs, samplerate = 512, 20, 10, 16000 124 125 m = mfcc(buf_size, n_filters, n_coeffs, samplerate) 125 m.set_power(2.) 126 m.set_power(2.5) 127 assert m.get_power() == 2.5 126 128 m(cvec(buf_size)) 127 129
Note: See TracChangeset
for help on using the changeset viewer.