Changeset View
Changeset View
Standalone View
Standalone View
src/lib/audio/fftCorrelation.cpp
Context not available. | |||||
123 | correlatedFFT[i].i = leftFFT[i].r * rightFFT[i].i + leftFFT[i].i * rightFFT[i].r; | 123 | correlatedFFT[i].i = leftFFT[i].r * rightFFT[i].i + leftFFT[i].i * rightFFT[i].r; | ||
---|---|---|---|---|---|
124 | } | 124 | } | ||
125 | 125 | | |||
126 | // Inverse fourier tranformation to get the convolved data. | 126 | // Inverse fourier transformation to get the convolved data. | ||
127 | // Insert one element at the beginning to obtain the same result | 127 | // Insert one element at the beginning to obtain the same result | ||
128 | // that we also get with the nested for loop correlation. | 128 | // that we also get with the nested for loop correlation. | ||
129 | *out_convolved = 0; | 129 | *out_convolved = 0; | ||
Context not available. |