Filters included are:
I'm kinda stuck trying to figure out the 'pointer' 'structure pointer' loop in the presence EQ.
Can someone explain:
*a0 = a2plus1 + alphan*ma2plus1;
*a1 = 4.0*a;
*a2 = a2plus1 - alphan*ma2plus1;
b0 = a2plus1 + alphad*ma2plus1;
*b2 = a2plus1 - alphad*ma2plus1;
recipb0 = 1.0/b0;
*a0 *= recipb0;
*a1 *= recipb0;
*a2 *= recipb0;
*b1 = *a1;
*b2 *= recipb0;
f->cy1 = -f->cy1;
f->cy2 = -f->cy2;
How can this be translated into something more easy to understand.
Input = ...
Output = ...
Managed to port the presence eq properly. And its sounds great!
Altho I did some changes to some of the code.
changed "d /= mag" to "d = mag"
"bw/srate" to "bw"
There results I got are stable within there parameters:
Really good sound from this filter!