Changeset 1d4fc4a
- Timestamp:
- Mar 21, 2006, 7:03:37 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:
- 9771488
- Parents:
- 2e2bfff
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/pitchfcomb.c
r2e2bfff r1d4fc4a 84 84 p->winput->data[0][k] = p->win->data[0][k] * input->data[0][k]; 85 85 } 86 aubio_mfft_do(p->fft, input,p->fftOut);86 aubio_mfft_do(p->fft,p->winput,p->fftOut); 87 87 88 88 for (k=0; k<=p->fftSize/2; k++) { … … 100 100 101 101 /* map delta phase into +/- Pi interval */ 102 tmp = aubio_unwrap2pi(tmp) + PI;102 tmp = aubio_unwrap2pi(tmp); 103 103 104 104 /* get deviation from bin frequency from the +/- Pi interval */ 105 tmp = p-> stepSize/(smpl_t)p->fftSize*tmp/(TWO_PI);105 tmp = p->fftSize/(smpl_t)p->stepSize*tmp/(TWO_PI); 106 106 107 107 /* compute the k-th partials' true frequency */
Note: See TracChangeset
for help on using the changeset viewer.