feat: duplicate complete tracks with instruments routing and automation

This commit is contained in:
Johannes Findeisen 2026-11-06 00:33:58 +01:00
commit 4c855ee5d7
9 changed files with 65 additions and 5 deletions

View file

@ -23,6 +23,10 @@ xtc_result xtc_project_transform_clips(xtc_project *project,const uint64_t *ids,
* unchanged. No interpolated automation guard points are synthesized. Atomic.
* remove must be 0 or 1. GUI loop preferences are outside the project. */
xtc_result xtc_project_ripple_time(xtc_project *project,uint64_t begin,uint64_t length,int remove);
/* Non-bus track copy with fresh track/clip/note IDs. Copies source references,
* instrument settings, mix, bus route and mixer automation; inserts adjacent to
* source. Shared modular graph and live-input target are unchanged. Atomic. */
xtc_result xtc_project_duplicate_track(xtc_project *project,uint64_t track,const char *name,uint64_t *out);
/* MIDI transforms affect ALL source notes in selected MIDI clips, including
* notes hidden by trims. Mixed audio/MIDI selections reject; IDs and unaffected
* fields persist. Initialize the edit struct to zero and set the fields for its