diff --git a/packages/superdough/synth.mjs b/packages/superdough/synth.mjs index dd048174..9a1e4d15 100644 --- a/packages/superdough/synth.mjs +++ b/packages/superdough/synth.mjs @@ -161,7 +161,7 @@ export function registerSynthSounds() { pwrate = 1; } - let { duration, pw: pulsewidth = value.n ?? 0.5 } = value; + let { duration, pw: pulsewidth = 0.5 } = value; const frequency = getFrequencyFromValue(value); const [attack, decay, sustain, release] = getADSRValues(