diff options
author | Damien Zammit <damien@zamaudio.com> | 2017-06-09 23:06:53 +1000 |
---|---|---|
committer | Damien Zammit <damien@zamaudio.com> | 2017-06-09 23:09:36 +1000 |
commit | d08b81d33dba93b37a9479fcde6315e6a539f133 (patch) | |
tree | bec562b6ae78c1c79e15de6b6d0ec8c69d10e779 | |
parent | b4ddbce1ff6701aec8d83a970637f3f2e1693098 (diff) |
a-EQ: Revert one of the previous changes
One of the previous changes was not a typo, revert it.
-rw-r--r-- | libs/plugins/a-eq.lv2/a-eq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/plugins/a-eq.lv2/a-eq.c b/libs/plugins/a-eq.lv2/a-eq.c index 99138fc21c..b0851f2120 100644 --- a/libs/plugins/a-eq.lv2/a-eq.c +++ b/libs/plugins/a-eq.lv2/a-eq.c @@ -275,7 +275,7 @@ static void linear_svf_set_peq(struct linear_svf *self, float gdb, float sample_ double A = pow(10.0, gdb/40.0); self->g = tan(M_PI * (f0 / sr)); - self->k = 1.0 / q; + self->k = 1.0 / (q * A); self->a[0] = 1.0 / (1.0 + self->g * (self->g + self->k)); self->a[1] = self->g * self->a[0]; |