formatting

This commit is contained in:
Jade (Rose) Rowland
2024-09-07 12:32:55 -04:00
parent 1f7343f43d
commit 057bb42438
+2 -2
View File
@@ -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);