Improve ableton export logic and update documentation
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -23,7 +23,7 @@ function sanitizeFileName(value: string): string {
|
||||
}
|
||||
|
||||
const NOTES: Record<ExportFormatId, string> = {
|
||||
ableton: `When samples are included, pads used at one consistent pitch are automatically organized into Drum Racks, while chromatic pads remain on separate MIDI tracks. Recorded fader automation is exported for LVL, PTC, LPF, HPF, FX, ATK, REL, PAN, TUNE, VEL and MOD. Choke groups work between pads in the same Drum Rack. TIM automation, the EP effects and stretching algorithms remain approximations.`,
|
||||
ableton: `When samples are included, suitable single-pitch pads are automatically organized into Drum Racks, while chromatic or expressive pads remain on separate MIDI tracks. Recorded fader automation is exported for LVL, PTC, LPF, HPF, FX, ATK, REL, PAN, TUNE, VEL and MOD. Choke groups work between pads in the same Drum Rack. TIM automation, the EP effects and stretching algorithms remain approximations.`,
|
||||
dawproject: `Unfortunately, the DAWproject format does not currently support the "Sampler" instrument, so you will need to manually assign the samples in your DAW.`,
|
||||
midi: `The simplest format supported by any DAW. But you have to assign the samples manually.`,
|
||||
reaper: `Only basic sampler features are supported`,
|
||||
|
||||
Reference in New Issue
Block a user