Remove unnecessary assignment in buildFaderFilterDevice
This commit is contained in:
@@ -483,7 +483,6 @@ async function buildFaderFilterDevice(
|
|||||||
const filterTemplate = await loadTemplate<ALSFilter>('effectFilter', abletonVersion);
|
const filterTemplate = await loadTemplate<ALSFilter>('effectFilter', abletonVersion);
|
||||||
const filter = structuredClone(filterTemplate.AutoFilter);
|
const filter = structuredClone(filterTemplate.AutoFilter);
|
||||||
const highPass = parameter === FaderParam.HPF;
|
const highPass = parameter === FaderParam.HPF;
|
||||||
filter.LastPresetRef.Value = {};
|
|
||||||
filter.UserName['@Value'] = highPass ? 'EP HPF' : 'EP LPF';
|
filter.UserName['@Value'] = highPass ? 'EP HPF' : 'EP LPF';
|
||||||
filter.FilterType.Manual['@Value'] = highPass ? 1 : 0;
|
filter.FilterType.Manual['@Value'] = highPass ? 1 : 0;
|
||||||
filter.LegacyFilterType.Manual['@Value'] = highPass ? 1 : 0;
|
filter.LegacyFilterType.Manual['@Value'] = highPass ? 1 : 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user