mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-21 02:28:34 +00:00
remove n
This commit is contained in:
parent
440ce0cd3b
commit
760d1abec0
@ -161,7 +161,7 @@ export function registerSynthSounds() {
|
|||||||
pwrate = 1;
|
pwrate = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
let { duration, pw: pulsewidth = value.n ?? 0.5 } = value;
|
let { duration, pw: pulsewidth = 0.5 } = value;
|
||||||
const frequency = getFrequencyFromValue(value);
|
const frequency = getFrequencyFromValue(value);
|
||||||
|
|
||||||
const [attack, decay, sustain, release] = getADSRValues(
|
const [attack, decay, sustain, release] = getADSRValues(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user