Add aliases for distort types

This commit is contained in:
Aria 2025-10-01 00:36:59 -05:00
parent c5f1085bd9
commit a14bf4d97b
3 changed files with 59 additions and 12 deletions

View file

@ -475,7 +475,6 @@ export const getDistortionAlgorithm = (algo) => {
};
export const getDistortion = (distort, postgain, algorithm) => {
debugger;
return getWorklet(getAudioContext(), 'distort-processor', { distort, postgain }, { processorOptions: { algorithm } });
};