Add aliases for distort types
This commit is contained in:
parent
c5f1085bd9
commit
a14bf4d97b
3 changed files with 59 additions and 12 deletions
|
|
@ -475,7 +475,6 @@ export const getDistortionAlgorithm = (algo) => {
|
|||
};
|
||||
|
||||
export const getDistortion = (distort, postgain, algorithm) => {
|
||||
debugger;
|
||||
return getWorklet(getAudioContext(), 'distort-processor', { distort, postgain }, { processorOptions: { algorithm } });
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -155,6 +155,7 @@ let defaultDefaultValues = {
|
|||
phaserdepth: 0.75,
|
||||
shapevol: 1,
|
||||
distortvol: 1,
|
||||
distorttype: 0,
|
||||
delay: 0,
|
||||
byteBeatExpression: '0',
|
||||
delayfeedback: 0.5,
|
||||
|
|
@ -455,7 +456,7 @@ export const superdough = async (value, t, hapDuration, cps = 0.5, cycle = 0.5)
|
|||
shapevol = getDefaultValue('shapevol'),
|
||||
distort,
|
||||
distortvol = getDefaultValue('distortvol'),
|
||||
distorttype,
|
||||
distorttype = getDefaultValue('distorttype'),
|
||||
pan,
|
||||
vowel,
|
||||
delay = getDefaultValue('delay'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue