fix def skew
This commit is contained in:
parent
ccf2a6de52
commit
b2f90ecb3b
3 changed files with 9 additions and 4 deletions
|
|
@ -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 });
|
||||
lfo = getLfo(ac, begin, end, { frequency: pwrate, depth: pwsweep, skew: .5, dcoffset: 0 });
|
||||
lfo.connect(o.parameters.get('pulsewidth'));
|
||||
}
|
||||
let timeoutNode = webAudioTimeout(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue