feat: repeat arrangement phrases with bounded atomic pattern copies

This commit is contained in:
Johannes Findeisen 2026-11-06 00:15:42 +01:00
commit ea9789b188
10 changed files with 70 additions and 4 deletions

View file

@ -13,6 +13,9 @@ extern "C" {
typedef enum { XTC_CLIPS_MOVE, XTC_CLIPS_DUPLICATE, XTC_CLIPS_DELETE } xtc_clip_operation;
xtc_result xtc_project_transform_clips(xtc_project *project,const uint64_t *ids,size_t count,
xtc_clip_operation operation,int64_t amount,uint64_t *out_ids);
/* Repeat the bounding phrase span, including gaps, 1..1024 additional copies.
* Originals remain selected by the caller; all copies publish together. */
xtc_result xtc_project_repeat_clips(xtc_project *project,const uint64_t *ids,size_t count,unsigned int copies);
/* Independent clipboard snapshot; captures notes/trim/media references, no media
* bytes or instrument assignments. Paste maps source track spacing to existing
* destination tracks beginning at destination_track; rejects missing/bus tracks.