From 057bb42438d45849816818866251588f8f2acdb1 Mon Sep 17 00:00:00 2001 From: "Jade (Rose) Rowland" Date: Sat, 7 Sep 2024 12:32:55 -0400 Subject: [PATCH] formatting --- packages/superdough/synth.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);