Quote:
Originally Posted by Anomaly
EDIT: never mind. Just saw your another reply.
So you have designed your filter coefficients without samplerate input? In other words your coefficients are kind of "constant"?
Maybe there are some filter experts who can offer some guidance, but I suspect you should present some code.

Yes,i designed filter coeffs without samplerate input.So i believe they are constant.
Actually my codes hard to understand...But i'm sharing...
Codes FAUST generated.
Code:
float fTemp0 = ((((fRec1[0] * ((fRec2[0] * ((2.53244472f * fRec2[0]) + 2.52782989f)) + 2.55191851f)) + (fRec3[0] * (((fRec1[0] * ((fRec2[0] * (2.39224625f  (2.3966136f * fRec2[0]))) + 2.41504288f)) + (fRec2[0] * ((2.97997594f * fRec2[0]) + 3.00986648f))) + 2.542557f))) + (fRec2[0] * (3.17996812f  (3.14868951f * fRec2[0])))) + 2.68679452f);
fRec0[0] = (*in1  ((((fRec0[1] * ((((fRec1[0] * ((fRec2[0] * (3.28740835f  (3.29274011f * fRec2[0]))) + 3.31676102f)) + (fRec3[0] * (((fRec1[0] * ((fRec2[0] * ((3.15546703f * fRec2[0]) + 3.15034962f)) + 3.17850184f)) + (fRec2[0] * (3.82386899f  (3.85928059f * fRec2[0])))) + 3.35960817f))) + (fRec2[0] * ((4.02680874f * fRec2[0]) + 3.9897368f))) + 3.50551343f)) + (fRec0[2] * ((((fRec1[0] * ((fRec2[0] * (0.934723735f  (0.937751412f * fRec2[0]))) + 0.947525024f)) + (fRec3[0] * (((fRec1[0] * ((fRec2[0] * ((0.874959588f * fRec2[0]) + 0.872106731f)) + 0.884132981f)) + (fRec2[0] * (1.14007628f  (1.10832298f * fRec2[0])))) + 0.928419292f))) + (fRec2[0] * ((1.18686604f * fRec2[0]) + 1.22009742f))) + 0.994844198f))) + (fRec0[3] * ((((fRec1[0] * ((fRec2[0] * ((1.6980468f * fRec2[0]) + 1.69430232f)) + 1.71236753f)) + (fRec3[0] * (((fRec1[0] * ((fRec2[0] * (1.63021028f  (1.63381302f * fRec2[0]))) + 1.64759207f)) + (fRec2[0] * ((1.98766482f * fRec2[0]) + 1.95411611f))) + 1.74550831f))) + (fRec2[0] * (2.03056645f  (2.06568694f * fRec2[0])))) + 1.81427062f))) / fTemp0));
float fTemp1 = (1.0f  fRec2[0]);
float fTemp2 = (fRec2[0] * fTemp1);
*out1 = ((((((fRec0[0] * ((((fRec1[0] * ((2.07792711f * fTemp2) + 2.08234882f)) + (fRec3[0] * (((fRec1[0] * ((fRec2[0] * (0.0f  (1.96647441f * fTemp1))) + 1.97065902f)) + (fRec2[0] * (2.40981579f  (2.44513631f * fRec2[0])))) + 2.1027143f))) + (fRec2[0] * ((2.58356977f * fRec2[0]) + 2.54655361f))) + 2.22175026f)) + (fRec0[1] * ((((fRec1[0] * ((fRec2[0] * (0.0f  (2.0410006f * fTemp1))) + 2.04461694f)) + (fRec3[0] * (((fRec1[0] * ((1.96380627f * fTemp2) + 1.96729732f)) + (fRec2[0] * ((2.38908958f * fRec2[0]) + 2.41825509f))) + 2.04841661f))) + (fRec2[0] * (2.51309466f  (2.4825294f * fRec2[0])))) + 2.12845993f))) + (fRec0[2] * ((((fRec1[0] * ((fRec2[0] * (0.0f  (2.07951403f * fTemp1))) + 2.08538675f)) + (fRec3[0] * (((fRec1[0] * ((1.96798885f * fTemp2) + 1.97355795f)) + (fRec2[0] * ((2.44698095f * fRec2[0]) + 2.41166043f))) + 2.10574365f))) + (fRec2[0] * (2.54816365f  (2.58517957f * fRec2[0])))) + 2.22460103f))) + (fRec0[3] * ((((fRec1[0] * ((2.04258776f * fTemp2) + 2.04765487f)) + (fRec3[0] * (((fRec1[0] * ((fRec2[0] * (0.0f  (1.96532071f * fTemp1))) + 1.97019613f)) + (fRec2[0] * (2.42013574f  (2.39097047f * fRec2[0])))) + 2.0514822f))) + (fRec2[0] * ((2.48482394f * fRec2[0]) + 2.51538897f))) + 2.13199639f))) / fTemp0));
fRec1[1] = fRec1[0];
fRec2[1] = fRec2[0];
fRec3[1] = fRec3[0];
for (int j0 = 3; (j0 > 0); j0 = (j0  1)) {
fRec0[j0] = fRec0[(j0  1)];