feat: consolidate trimmed MIDI clips with explicit note boundary cropping

This commit is contained in:
Johannes Findeisen 2026-11-06 00:38:13 +01:00
commit fc76bf6803
9 changed files with 68 additions and 5 deletions

View file

@ -22,3 +22,7 @@ Edit/Duplicate complete track copies the selected non-bus track adjacent to its
## Phase 62 — Nondestructive MIDI Clip Splitting
The existing Split clip at cursor command (S) now handles MIDI as well as audio. Left retains its ID; right gets fresh IDs, the same source content and an adjusted source offset. Hidden notes remain editable. Split is nondestructive, but instrument note envelopes may retrigger at the new boundary; original sine rendering retains source phase. Capacity failures preserve the project.
## Phase 63 — MIDI Clip Consolidation
Edit/Consolidate MIDI clips merges two or more selected MIDI clips on one track. The new clip spans their full bounding range; gaps and overlapping notes remain. Notes outside visible trims are discarded and crossing notes are cropped to audible boundaries. IDs are fresh. Cropped notes start anew, so envelope/phase behavior can change. Audio or cross-track selections reject atomically.