remove unused variable
This commit is contained in:
parent
e0a7fb8290
commit
2dea3911ba
1 changed files with 0 additions and 1 deletions
|
|
@ -154,7 +154,6 @@ export function createFilter(context, type, frequency, Q, att, dec, sus, rel, fe
|
||||||
if (!isNaN(fenv) && fenv !== 0) {
|
if (!isNaN(fenv) && fenv !== 0) {
|
||||||
const offset = fenv * fanchor;
|
const offset = fenv * fanchor;
|
||||||
|
|
||||||
const min = clamp(2 ** -offset * frequency, 0, 20000);
|
|
||||||
const max = clamp(2 ** (fenv - offset) * frequency, 0, 20000);
|
const max = clamp(2 ** (fenv - offset) * frequency, 0, 20000);
|
||||||
|
|
||||||
getParamADSR(context, filter.frequency, attack, decay, sustain, release, frequency, max, start, end);
|
getParamADSR(context, filter.frequency, attack, decay, sustain, release, frequency, max, start, end);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue