- Timestamp:
- Oct 17, 2009, 2:38:47 PM (15 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:
- 74516f7
- Parents:
- 858cfa7
- Location:
- tests/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/test-hist.c
r858cfa7 r407bba9 7 7 for (length = 1; length < 10; length ++ ) { 8 8 aubio_hist_t *o = new_aubio_hist(0, 1, length, 5); 9 fvec_t *t = new_aubio_window( length,aubio_win_hanning);9 fvec_t *t = new_aubio_window("hanning", length); 10 10 aubio_hist_do(o,t); 11 11 fvec_print(t); … … 15 15 fvec_print(t); 16 16 del_fvec(t); 17 t = new_aubio_window( length,aubio_win_hanningz);17 t = new_aubio_window("hanningz", length); 18 18 aubio_hist_do(o,t); 19 19 fvec_print(t); -
tests/src/test-window.c
r858cfa7 r407bba9 7 7 for (length = 2; length <= 5; length++) 8 8 { 9 fvec_t *t = new_aubio_window( length,aubio_win_rectangle);9 fvec_t *t = new_aubio_window("rectangle", length); 10 10 del_fvec(t); 11 t = new_aubio_window( length,aubio_win_hamming);11 t = new_aubio_window("hamming", length); 12 12 fvec_print(t); 13 13 del_fvec(t); 14 t = new_aubio_window( length,aubio_win_hanning);14 t = new_aubio_window("hanning", length); 15 15 fvec_print(t); 16 16 del_fvec(t); 17 t = new_aubio_window( length,aubio_win_hanningz);17 t = new_aubio_window("hanningz", length); 18 18 fvec_print(t); 19 19 del_fvec(t); 20 t = new_aubio_window( length,aubio_win_blackman);20 t = new_aubio_window("blackman", length); 21 21 fvec_print(t); 22 22 del_fvec(t); 23 t = new_aubio_window( length,aubio_win_blackman_harris);23 t = new_aubio_window("blackman_harris", length); 24 24 fvec_print(t); 25 25 del_fvec(t); 26 t = new_aubio_window( length,aubio_win_gaussian);26 t = new_aubio_window("gaussian", length); 27 27 fvec_print(t); 28 28 del_fvec(t); 29 t = new_aubio_window( length,aubio_win_welch);29 t = new_aubio_window("welch", length); 30 30 fvec_print(t); 31 31 del_fvec(t); 32 t = new_aubio_window(length,aubio_win_parzen); 32 t = new_aubio_window("parzen", length); 33 fvec_print(t); 34 del_fvec(t); 35 t = new_aubio_window("default", length); 33 36 fvec_print(t); 34 37 del_fvec(t);
Note: See TracChangeset
for help on using the changeset viewer.