addendum to previous commit; duh
This commit is contained in:
parent
f6113fc6c4
commit
219479ecc6
1 changed files with 0 additions and 1 deletions
1
xm.js
1
xm.js
|
|
@ -89,7 +89,6 @@ function filterCoeffs(f_c) {
|
||||||
var wct = Math.sqrt(2) * Math.PI * f_c;
|
var wct = Math.sqrt(2) * Math.PI * f_c;
|
||||||
var e = Math.exp(-wct);
|
var e = Math.exp(-wct);
|
||||||
var c = e * Math.cos(wct);
|
var c = e * Math.cos(wct);
|
||||||
var s = e * Math.sin(wct);
|
|
||||||
var gain = (1 - 2*c + e*e) / 2;
|
var gain = (1 - 2*c + e*e) / 2;
|
||||||
return [gain, 2*c, -e*e];
|
return [gain, 2*c, -e*e];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue