Fully working version with multiple LFOs

This commit is contained in:
Aria 2025-08-20 10:08:36 -05:00
parent 4a70ac5a99
commit efb337677c
5 changed files with 103 additions and 48 deletions

View file

@ -21,7 +21,9 @@ const getSlope = (y1, y2, x1, x2) => {
export function getWorklet(ac, processor, params, config) {
const node = new AudioWorkletNode(ac, processor, config);
Object.entries(params).forEach(([key, value]) => {
node.parameters.get(key).value = value;
if (value !== undefined) {
node.parameters.get(key).value = value;
}
});
return node;
}