Some cleanup
This commit is contained in:
parent
2aeba2e53f
commit
3a17aeabf3
2 changed files with 2 additions and 13 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue