Fix type casting issue when calculating static fader values
This commit is contained in:
@@ -643,10 +643,7 @@ async function buildTrack(
|
||||
|
||||
if (exporterParams.includeArchivedSamples) {
|
||||
for (const parameter of [FaderParam.LPF, FaderParam.HPF] as const) {
|
||||
const staticValue = canonicalizeFilterFaderValue(
|
||||
parameter,
|
||||
koTrack.faderParams[parameter],
|
||||
);
|
||||
const staticValue = canonicalizeFilterFaderValue(parameter, koTrack.faderParams[parameter]);
|
||||
const defaultValue = getFaderDefaultValue(parameter);
|
||||
const hasAutomation = automatedParameters.has(parameter);
|
||||
if (hasAutomation || (staticValue !== -1 && staticValue !== defaultValue)) {
|
||||
|
||||
Reference in New Issue
Block a user