HardwareHeaven.com

HardwareHeaven.com

Looking for the skin chooser?
 
 
  • Home

  • Hardware reviews

  • Articles

  • News

  • Tools

  • Gaming at HardwareHeaven

  • Forums

 

Go Back   HardwareHeaven.com > Forums > Hardware and Related Topics > kX Project Audio Driver Support Forum > Bug Reports


Reply
 
Thread Tools
Old Mar 10, 2011, 11:37 AM   #1
HardwareHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 5,563
Rep Power: 62
Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!

Bug with "EQ Highshelf" and "EQ Lowshelf" plugins

There appears to be a bug with some of the coefficient calculations of the "EQ Highshelf" and "EQ Lowshelf" plugins.

It looks like there was a mistake made (with these 2 plugins) with parenthesis in the calculation of "beta", as the plugins' code shows (in 3 places):
Code:
beta = sqrt(TMP*TMP+1)/(eqband/10.)-((TMP-1)*(TMP-1));
AFAIK, it should be:
Code:
beta = sqrt( (TMP*TMP+1)/(eqband/10.)-((TMP-1)*(TMP-1)) );
(from an old version of the Audio EQ Cookbook)
Code:
beta  = sqrt[ (A^2 + 1) /S - (A-1)^2 ]   (for shelving EQ filters only)
[EDIT]
BTW: I thought I should mention that the reason I noticed it is because "EQ Highshelf" was giving unexpected results under some settings (e.g. slope = 2).

Last edited by Russ; Mar 15, 2011 at 01:50 PM. Reason: more
Russ is online now   Reply With Quote


Old Mar 11, 2011, 01:42 PM Threadstarter Thread Starter   #2
HardwareHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 5,563
Rep Power: 62
Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!

Re: Bug with "EQ Highshelf" and "EQ Lowshelf" plugins

BTW: The range of the Frequency slider for "EQ Highshelf" appears to be off as well. I am not sure what the intended range was (maybe 6000 Hz to 16000 Hz), but it shows 6000 Hz to 27893 Hz (upper limit is over Nyquist... which (I would guess) is not what was intended).

Last edited by Russ; Mar 11, 2011 at 10:59 PM.
Russ is online now   Reply With Quote
Reply

Thread Tools