- Timestamp:
- Dec 7, 2018, 1:16:37 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:
- 6383ca4
- Parents:
- d91566e (diff), dd47431 (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. - Location:
- tests/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/spectral/test-awhitening.c
rd91566e re45345d 42 42 43 43 aubio_pvoc_t *pv = new_aubio_pvoc(win_size, hop_size); 44 if (!pv) { err = 1; goto beach_pvoc; } 44 45 45 46 aubio_spectral_whitening_t *awhitening = 46 47 new_aubio_spectral_whitening (win_size, hop_size, samplerate); 48 if (!awhitening) { err = 1; goto beach_awhitening; } 47 49 48 50 aubio_spectral_whitening_set_relax_time(awhitening, 20.); … … 72 74 source_path, sink_path); 73 75 76 del_aubio_spectral_whitening(awhitening); 77 beach_awhitening: 78 del_aubio_pvoc(pv); 79 beach_pvoc: 74 80 del_aubio_sink(o); 75 81 beach_sink: … … 77 83 beach_source: 78 84 del_fvec(vec); 85 del_fvec(out); 86 del_fvec(scale); 87 del_cvec(fftgrain); 79 88 beach_fvec: 80 89 return err; -
tests/src/test-mathutils.c
rd91566e re45345d 101 101 fvec_set_window(window, "rectangle"); 102 102 fvec_print(window); 103 del_fvec(window); 103 104 104 105 window_size /= 2.;
Note: See TracChangeset
for help on using the changeset viewer.