Update scene name assignment in Ableton Live 10 exporter

This commit is contained in:
2026-07-13 04:49:03 +02:00
parent 2a373efa74
commit 311fa2cdb9

View File

@@ -548,7 +548,7 @@ async function buildScenes(
sceneContent['@Id'] = _localId++;
if (abletonVersion === '10') {
sceneContent['@Value'] = scene?.name || ` ${index + 1}`;
(sceneContent as any)['@Value'] = scene?.name || ` ${index + 1}`;
} else {
sceneContent.Name['@Value'] = scene?.name || '';
sceneContent.Tempo['@Value'] = settings.bpm;
@@ -655,8 +655,9 @@ async function buildReturnTrack(
}
effectChorus.Feedback.Manual['@Value'] = projectData.effects.param2 * 0.8;
returnTrack.DeviceChain.DeviceChain.Devices =
returnTrack.DeviceChain.DeviceChain.Devices = (
abletonVersion === '10' ? { Chorus: effectChorus } : { Chorus2: effectChorus };
) as any;
}
// putting a filter in return track is absolutely pointless, but hey, why not