From fb6ee93090f764b1084f9d6a8cdd8380eedffa4e Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Tue, 14 Jul 2026 07:58:43 +0200 Subject: [PATCH] Update trackAutomationTargets signature to include koTrack parameter --- src/lib/exporters/ableton/builders.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib/exporters/ableton/builders.ts b/src/lib/exporters/ableton/builders.ts index 00424bb..01132ce 100644 --- a/src/lib/exporters/ableton/builders.ts +++ b/src/lib/exporters/ableton/builders.ts @@ -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