projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4ddbce
)
a-EQ: Revert one of the previous changes
author
Damien Zammit
<damien@zamaudio.com>
Fri, 9 Jun 2017 13:06:53 +0000
(23:06 +1000)
committer
Damien Zammit
<damien@zamaudio.com>
Fri, 9 Jun 2017 13:09:36 +0000
(23:09 +1000)
One of the previous changes was not a typo, revert it.
libs/plugins/a-eq.lv2/a-eq.c
patch
|
blob
|
history
diff --git
a/libs/plugins/a-eq.lv2/a-eq.c
b/libs/plugins/a-eq.lv2/a-eq.c
index 99138fc21c56d496770508afd7e7befd727aaae0..b0851f2120f73bc3d47829414c19973f3f310ab4 100644
(file)
--- 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];