mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-13 22:35:15 -04:00
fix: also adjust gain curve for 1.2
This commit is contained in:
@@ -174,6 +174,10 @@ export function setVersionDefaults(version) {
|
||||
}
|
||||
if (v <= 1.2) {
|
||||
setDefaultValue('gain', 0.8);
|
||||
setGainCurve((v) => v);
|
||||
} else {
|
||||
setDefaultValue('gain', 1);
|
||||
setGainCurve((v) => Math.pow(v, 2));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user