fix vib
This commit is contained in:
parent
bf3fe605d9
commit
d94f145649
1 changed files with 1 additions and 1 deletions
|
|
@ -319,7 +319,7 @@ export async function onTriggerSynth(t, value, onended, tables, cps, frameLen) {
|
||||||
dcoffset: value.warpdc ?? 0,
|
dcoffset: value.warpdc ?? 0,
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
const vibratoOscillator = getVibratoOscillator(source.detune, value, t);
|
const vibratoOscillator = getVibratoOscillator(source.parameters.get('detune'), value, t);
|
||||||
const envGain = ac.createGain();
|
const envGain = ac.createGain();
|
||||||
const node = source.connect(envGain);
|
const node = source.connect(envGain);
|
||||||
getParamADSR(node.gain, attack, decay, sustain, release, 0, 1, t, holdEnd, 'linear');
|
getParamADSR(node.gain, attack, decay, sustain, release, 0, 1, t, holdEnd, 'linear');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue