Senior Member
Join Date: Feb 2010
Posts: 350
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Quoted: 140 Post(s)
Liked: 39



Thread Tools 
Sponsored Links  
Advertisement


double f0 = 1681.974450955533; double G = 3.999843853973347; double Q = 0.7071752369554196; double K = tan(M_PI * f0 / (double) st>samplerate); double Vh = pow(10.0, G / 20.0); double Vb = pow(Vh, 0.4996667741545416); double pb[3] = {0.0, 0.0, 0.0}; double pa[3] = {1.0, 0.0, 0.0}; double rb[3] = {1.0, 2.0, 1.0}; double ra[3] = {1.0, 0.0, 0.0}; double a0 = 1.0 + K / Q + K * K ; pb[0] = (Vh + Vb * K / Q + K * K) / a0; pb[1] = 2.0 * (K * K  Vh) / a0; pb[2] = (Vh  Vb * K / Q + K * K) / a0; pa[1] = 2.0 * (K * K  1.0) / a0; pa[2] = (1.0  K / Q + K * K) / a0; f0 = 38.13547087602444; Q = 0.5003270373238773; K = tan(M_PI * f0 / (double) st>samplerate); ra[1] = 2.0 * (K * K  1.0) / (1.0 + K / Q + K * K); ra[2] = (1.0  K / Q + K * K) / (1.0 + K / Q + K * K); st>d>b[0] = pb[0] * rb[0]; st>d>b[1] = pb[0] * rb[1] + pb[1] * rb[0]; st>d>b[2] = pb[0] * rb[2] + pb[1] * rb[1] + pb[2] * rb[0]; st>d>b[3] = pb[1] * rb[2] + pb[2] * rb[1]; st>d>b[4] = pb[2] * rb[2];
Sponsored Links  
Advertisement




Posting Rules  