Changeset 75f9fff for python/tests
- Timestamp:
- Nov 10, 2018, 12:07:12 PM (6 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master
- Children:
- a95b386
- Parents:
- 8354cb8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/tests/test_filterbank_mel.py
r8354cb8 r75f9fff 30 30 freq_list = [40, 80, 200, 400, 800, 1600, 3200, 6400, 12800, 15000, 24000] 31 31 freqs = np.array(freq_list, dtype = float_type) 32 with assert_warns(UserWarning): 33 f.set_triangle_bands(freqs, 48000) 32 f.set_triangle_bands(freqs, 48000) 34 33 assert_equal ( f(cvec(1024)), 0) 35 34 self.assertIsInstance(f.get_coeffs(), np.ndarray) … … 39 38 freq_list = [40, 80, 200, 400, 800, 1600, 3200, 6400, 12800, 15000, 24000] 40 39 freqs = np.array(freq_list, dtype = float_type) 41 with assert_warns(UserWarning): 42 f.set_triangle_bands(freqs, 48000) 40 f.set_triangle_bands(freqs, 48000) 43 41 self.assertIsInstance(f.get_coeffs(), np.ndarray) 44 42 spec = cvec(1024)
Note: See TracChangeset
for help on using the changeset viewer.