Fully working version with multiple LFOs
This commit is contained in:
parent
4a70ac5a99
commit
efb337677c
5 changed files with 103 additions and 48 deletions
|
|
@ -360,7 +360,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 });
|
||||
lfo = getLfo(ac, { frequency: pwrate, depth: pwsweep, begin, end });
|
||||
lfo.connect(o.parameters.get('pulsewidth'));
|
||||
}
|
||||
let timeoutNode = webAudioTimeout(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue