This commit is contained in:
Jade (Rose) Rowland 2025-07-21 01:11:04 -04:00
parent b2f90ecb3b
commit 66828e17d3
6 changed files with 21 additions and 94 deletions

View file

@ -279,7 +279,7 @@ export function registerSynthSounds() {
getParamADSR(envGain.gain, attack, decay, sustain, release, 0, 1, begin, holdend, 'linear');
let lfo;
if (pwsweep != 0) {
lfo = getLfo(ac, begin, end, { frequency: pwrate, depth: pwsweep, skew: .5, dcoffset: 0 });
lfo = getLfo(ac, begin, end, { frequency: pwrate, depth: pwsweep });
lfo.connect(o.parameters.get('pulsewidth'));
}
let timeoutNode = webAudioTimeout(