Update trackAutomationTargets signature to include koTrack parameter
This commit is contained in:
@@ -191,7 +191,11 @@ function addTarget(
|
||||
targets[parameter] = [...(targets[parameter] || []), target];
|
||||
}
|
||||
|
||||
function trackAutomationTargets(midiTrack: any, includeArrangementMixer: boolean) {
|
||||
function trackAutomationTargets(
|
||||
midiTrack: any,
|
||||
includeArrangementMixer: boolean,
|
||||
koTrack: AblTrack,
|
||||
) {
|
||||
const targets: AbletonAutomationTargets = {};
|
||||
const mixer = midiTrack.DeviceChain.Mixer;
|
||||
const volumeTarget = targetFor(mixer.Volume);
|
||||
@@ -749,6 +753,7 @@ async function buildTrack(
|
||||
const automationTargets = trackAutomationTargets(
|
||||
midiTrack,
|
||||
!exporterParams.groupTracks && !exporterParams.clips,
|
||||
koTrack,
|
||||
);
|
||||
|
||||
// make sure each tracks has the same empty slots for clips
|
||||
|
||||
Reference in New Issue
Block a user