Changeset 28d8c4a for examples/tests
- Timestamp:
- Aug 9, 2005, 12:09:36 PM (19 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:
- 5e9c68a
- Parents:
- ea865c9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/tests/test-fft.c
rea865c9 r28d8c4a 20 20 spec[i] = AUBIO_ARRAY(fft_data_t,win_s); 21 21 /* initialize the window (see mathutils.c) */ 22 window(w,win_s,aubio_win_hanningz);22 aubio_window(w,win_s,aubio_win_hanningz); 23 23 24 24 /* fill input with some data */ … … 35 35 for (i=0; i < channels; i++) { 36 36 for (j=0; j<win_s/2+1; j++) { 37 spec[i][j] = CEXPC(I* unwrap2pi(fftgrain->phas[i][j]));37 spec[i][j] = CEXPC(I*aubio_unwrap2pi(fftgrain->phas[i][j])); 38 38 spec[i][j] *= fftgrain->norm[i][j]; 39 39 }
Note: See TracChangeset
for help on using the changeset viewer.