C Plus Plus Revival
· 4:27 · 25 plays · v3-preview
Lyrics
float recip = 1.0f - powf(this->paramAmount->get() * 0.95f, 2);
for (int a = 0; a < fftSize - 1; a += 2)
float c = (float)fftSize * 0.707f / (float)(max(1, a));
float real = fftBuffer[a];
float imag = fftBuffer[a + 1];
float power = sqrtf(real * real + imag * imag);
float phase = atan2f(imag, real);
power = powf(power / c, recip) * c;
fftBuffer[a] = cosf(phase) * power;
fftBuffer[a + 1] = sinf(phase) * power;
for (unsigned int i = 0; i < numberOfButterPoles; ++i)
w0_left[i] = d1[i] * w1_left[i] + d2[i] * w2_left[i] + left[0];
w0_right[i] = d1[i] * w1_right[i] + d2[i] * w2_right[i] + right[0];
left[0] = A[i] * (w0_left[i] + twoOrMinusTwo * w1_left[i] + w2_left[i]);
right[0] = A[i] * (w0_right[i] + twoOrMinusTwo * w1_right[i] + w2_right[i]);
w2_left[i] = w1_left[i];
w2_right[i] = w1_right[i];
w1_left[i] = w0_left[i];
w1_right[i] = w0_right[i];
Shouting
Compile!
Compile!
Outro in half tempo
End
Comments
No comments yet.