This commit is contained in:
Jade (Rose) Rowland 2024-02-27 23:38:37 -05:00
parent dd64bf0fc9
commit 1416a0de53
2 changed files with 47 additions and 66 deletions

View file

@ -452,7 +452,8 @@ export const superdough = async (value, deadline, hapDuration) => {
// effects
coarse !== undefined && chain.push(getWorklet(ac, 'coarse-processor', { coarse }));
crush !== undefined && chain.push(getWorklet(ac, 'crush-processor', { crush }));
shape !== undefined && chain.push(getWorklet(ac, 'shape-processor', { shape }));
const shapeInput = Array.isArray(shape) ? { shape: shape[0], postgain: shape[1] } : { shape };
shape !== undefined && chain.push(getWorklet(ac, 'shape-processor', shapeInput));
compressorThreshold !== undefined &&
chain.push(