remove n
This commit is contained in:
parent
440ce0cd3b
commit
760d1abec0
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue