Hi. Well, yes you guys are right, I wanted to double the MIDI note lenghts and slide them accordingly, to stretch out the MIDI part. The MIDI part is a Grieg piece I recorded a few years ago, but it's too fast for the audio I recorded recently. The Grieg piece is in the original 2/4 Time Signature, my audio is a Guitar Solo in 4/4 (Rock beat).
I know I could of course re-record the MIDI part, or change the note one by one in the Piano Roll, but I was looking for an easier solution. I did not know about the "Lenght" feature in Cakewalk, but it seem to work, when set to approx 200% (to fit my Audio).
Funny, because I googled this subject a lot, before I attempted to write a CAL script. I did find lots of people wanting to do the same as me, but there were no solutions presented. Thank you both ??
Thanks. I knew about this solution, but I thought it was not precise enough, and that it's very easy to mess it up by dragging it too short or too far. Hence I wanted some exact way to do it, to align the MIDI track perfectly to the measure/beats.
Thanks. I have not tested your script yet. But I will do it soon ?