mirror of
https://codeberg.org/uzu/strudel
synced 2026-09-04 06:41:43 -04:00
filter should decay to set frequency
This commit is contained in:
@@ -157,7 +157,7 @@ export function createFilter(context, type, frequency, Q, att, dec, sus, rel, fe
|
||||
const min = clamp(2 ** -offset * frequency, 0, 20000);
|
||||
const max = clamp(2 ** (fenv - offset) * frequency, 0, 20000);
|
||||
|
||||
getParamADSR(context, filter.frequency, attack, decay, sustain, release, min, max, start, end);
|
||||
getParamADSR(context, filter.frequency, attack, decay, sustain, release, frequency, max, start, end);
|
||||
return filter;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user