Fix buildSimplerDevice call in drum rack builder
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user