mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-24 05:57:17 -04:00
formatting
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user