diff --git a/packages/superdough/synth.mjs b/packages/superdough/synth.mjs index b2cc322b3..a405138fb 100644 --- a/packages/superdough/synth.mjs +++ b/packages/superdough/synth.mjs @@ -73,8 +73,8 @@ export function registerSynthSounds() { 'supersaw', (begin, value, onended) => { const ac = getAudioContext(); - const {z1, z2, z3} = value; - let { duration, n, unison = z2 == null ? 5 : Math.round(z2 * 10), spread = z3 ?? 0.6, detune, } = value; + const { z1, z2, z3 } = value; + let { duration, n, unison = z2 == null ? 5 : Math.round(z2 * 10), spread = z3 ?? 0.6, detune } = value; detune = detune ?? n ?? z1 ?? 0.18; const frequency = getFrequencyFromValue(value);