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