Fix buildSimplerDevice call in drum rack builder

This commit is contained in:
2026-07-14 08:16:54 +02:00
parent b842c4d33f
commit 339b8b4a8c

View File

@@ -655,10 +655,7 @@ async function buildDrumRackDevice(koTrack: AblTrack, abletonVersion: AbletonVer
drumBranch.BranchInfo.SendingNote['@Value'] = subtrack.drumRackSendingNote ?? subtrack.rootNote; // not sure if this matters drumBranch.BranchInfo.SendingNote['@Value'] = subtrack.drumRackSendingNote ?? subtrack.rootNote; // not sure if this matters
drumBranch.BranchInfo.ChokeGroup['@Value'] = subtrack.inChokeGroup ? 1 : 0; drumBranch.BranchInfo.ChokeGroup['@Value'] = subtrack.inChokeGroup ? 1 : 0;
drumBranch.MixerDevice.Volume.Manual['@Value'] = subtrack.volume; drumBranch.MixerDevice.Volume.Manual['@Value'] = subtrack.volume;
const branchDevices = await buildSimplerDevice( const branchDevices = await buildSimplerDevice(subtrack, abletonVersion);
subtrack,
abletonVersion,
);
assignDeviceListIds([branchDevices]); assignDeviceListIds([branchDevices]);
drumBranch.DeviceChain.MidiToAudioDeviceChain.Devices = branchDevices; drumBranch.DeviceChain.MidiToAudioDeviceChain.Devices = branchDevices;