Some cleanup

This commit is contained in:
Aria 2025-12-11 11:41:40 -06:00
parent 2aeba2e53f
commit 3a17aeabf3
2 changed files with 2 additions and 13 deletions

View file

@ -160,10 +160,8 @@ class LFOProcessor extends AudioWorkletProcessor {
const dcoffset = parameters['dcoffset'][0];
const userMin = parameters['min'][0];
const userMax = parameters['max'][0];
const min = Math.min(userMin, userMax);
const max = Math.max(userMin, userMax);
const min = parameters['min'][0];
const max = parameters['max'][0];
const shape = waveShapeNames[parameters['shape'][0]];
const blockSize = output[0].length ?? 0;