Update scene name assignment in Ableton Live 10 exporter
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user