Changeset d726526
- Timestamp:
- Dec 6, 2018, 11:40:48 AM (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:
- ed80243
- Parents:
- f19db54
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/spectral/test-awhitening.c
rf19db54 rd726526 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;
Note: See TracChangeset
for help on using the changeset viewer.