Changeset 283d93f
- Timestamp:
- Jul 21, 2006, 3:42:07 PM (18 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:
- f3f28b1
- Parents:
- e43c018
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/pitchyinfft.c
re43c018 r283d93f 102 102 for (l=0; l < p->fftout->length; l++){ 103 103 p->sqrmag->data[0][l] = SQR(p->fftout->norm[0][l]); 104 p->sqrmag->data[0][l] *= p->weight->data[0][l]; 105 } 106 for (l=1; l < p->fftout->length; l++){ 104 107 p->sqrmag->data[0][(p->fftout->length-1)*2-l] = 105 SQR(p->fftout->norm[0][l]); 106 p->sqrmag->data[0][l] *= p->weight->data[0][l]; 108 SQR(p->fftout->norm[0][l]); 107 109 p->sqrmag->data[0][(p->fftout->length-1)*2-l] *= 108 110 p->weight->data[0][l];
Note: See TracChangeset
for help on using the changeset viewer.