Improve ableton export logic and update documentation

This commit is contained in:
2026-07-14 08:05:24 +02:00
parent b70208f83c
commit 883a214c31
3 changed files with 24 additions and 1 deletions

View File

@@ -298,6 +298,7 @@ function abletonTransformer(data: ProjectRawData, exporterParams: ExporterParams
const groupTracksForDrumRack = tracks
.filter((track) => track.group === group && track.sampleName)
.filter((track) => getTrackNoteValues(track).length <= 1)
.filter((track) => !track.lane?.clips.some((clip) => clip.midiEvents.length > 0))
.map((track) => ({
...track,
drumRackSendingNote: getTrackNoteValues(track)[0] ?? track.rootNote,