First pass at modes

This commit is contained in:
Aria 2025-09-03 21:55:48 -05:00
parent 06ebcbff8c
commit bb982e6b9b
5 changed files with 124 additions and 12 deletions

View file

@ -307,3 +307,7 @@ export function applyFM(param, value, begin) {
}
return { stop };
}
export const getDistortion = (distort, postgain, algorithm) => {
return getWorklet(getAudioContext(), 'distort-processor', { distort, postgain, algorithm });
};