RedSkyRoadWhat happens is that the beginning of clip one changes to where the first note is and then all the linked clips move their notes to the beginning of their clips, ending up on the wrong place in time.
BobFSonar crops MIDI clips to start at the beginning of the first note/cc in the clip.
What BobF reported of Paste Special persisting is a bug, but I believe what the OP calls a "bug" is
not a bug but expected, replicatable behavior because as pointed out in the second quote, SONAR defines the most
basic form of a MIDI clip as occupying the space between the start of the first event and the end of the last event. However there are two ways to tell SONAR you want a clip defined differently from the default.
Use Groove Clips. Slip-edit the MIDI clip so it starts at the beginning of beat 1 and ends at the end of beat 4 so they are on measure boundaries, then convert into a Groove Clip (ctrl+L) before copying. Next, Paste Special with linking. This will preserve any "empty" space as part of the clip.
With Standard Clips. Suppose you draw an eighth note at beat 2 and a quarter note at beat 3. SONAR's default is that because MIDI data exists solely for beats 2 and 3, the clip covers only those beats. However, what you
want to repeat & link is a 1-measure clip that starts on beat 1 and ends at the end of beat 4. So, click on the existing clip to select its basic 2-beats form. Then, drag in the timeline from the start of beat 1 to the end of beat 4. You have now told SONAR that the space you want to repeat & link lasts 1 measure. Copy, then Paste Special with linking.
After defining the clip length to SONAR with either of those two methods, I cannot replicate what the OP describes. However note that these two methods are not interchangeable, so you can pick the one that produces the results you want. With Groove Clips, because you've told SONAR the clip itself is 1 measure long, the linked clips will be 1 measure long. With the first method, the linked clips will be exactly like the original - in other words the new clips will be 2 beats long and occupy beats 6 and 7, 10 and 11, 14 and 15, etc. with spaces at the beginning and end of each measure, in between the clips.
Three other things:
- Remember to check or uncheck "Align to Measure" as appropriate.
- It seems you can get unpredictable results if you paste a linked, repeated clip into itself. For example, if you have a clip that starts at measure 1 and is 2 measures long, make sure you paste starting at measure 3, not measure 1.
- Because of the Paste Special persistence bug BobF mentions, if you've done a paste special, before doing another one double-check that the settings are as desired.