WebAudio / web-audio-api-v2

The Web Audio API v2.0, developed by the W3C Audio WG
Other
120 stars 11 forks source link

Allow changing the `Q` for shelf filters #64

Closed padenot closed 4 years ago

padenot commented 4 years ago

This is something that most profesionnal audio software on my system can do, we should have a look to see if we can make it work with the current equations.

rtoy commented 4 years ago

This will take some work to see if we can do something and still preserve backward compatibility. Not sure that's possible since the default value of Q that wasn't used before but will be used now will probably not give the same filter responses. Have to do the analysis to see.

For reference, I'm using https://webaudio.github.io/Audio-EQ-Cookbook/audio-eq-cookbook.html and looking at eqns 5-7, and 10 and the filter formulas for the peaking, lowshelf, and highshelf filters.

svgeesus commented 4 years ago

Dup of https://github.com/WebAudio/web-audio-api-v2/issues/67