- Timestamp:
- Nov 26, 2018, 11:48:35 AM (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:
- 099776d
- Parents:
- 88a4d8a
- Location:
- tests/src/spectral
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/spectral/test-dct.c
r88a4d8a r804c8eb 10 10 // create dct object 11 11 aubio_dct_t * dct = new_aubio_dct(win_s); 12 aubio_dct_t * tmp; 13 14 if (new_aubio_dct(0)) return 1; 12 15 13 16 fvec_t * in = new_fvec (win_s); // input buffer 14 17 fvec_t * dctout = new_fvec (win_s); // output buffer 15 18 fvec_t * out = new_fvec (win_s); // input buffer 19 20 if ((tmp = new_aubio_dct(1)) == 0) return 1; 21 aubio_dct_do(tmp, dctout, out); 22 aubio_dct_rdo(tmp, dctout, out); 23 del_aubio_dct(tmp); 16 24 17 25 if (!dct || !in || !dctout) { -
tests/src/spectral/test-tss.c
r88a4d8a r804c8eb 35 35 } 36 36 37 aubio_tss_set_alpha(tss, 4.); 38 aubio_tss_set_beta(tss, 3.); 39 aubio_tss_set_threshold(tss, 3.); 40 37 41 del_aubio_pvoc(pv); 38 42 del_aubio_pvoc(pvt);
Note: See TracChangeset
for help on using the changeset viewer.