Jump to content
  • 0

Change start time of multiple MIDI events


cwiggins999

Question

I have a MIDI file with a 2 measure leadin, and during measure 1 there are a variety of MIDI control events - chorus, expression, etc. I'd like to move the start MBT of ALL of these events to 2:04:00. Is there a built-in way to do this in Cakewalk, besides editing each event individually? I'm considering a CAL script, but haven't used CAL before.

image.png.20151f447eedc504e557732541e4b2fe.png

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

I would simply write a CAL script to do this. 

Personally, I would write the script to move all of the MIDI events to be close to a given time, but with a random shift of the the time position of the events.  That way you do not risk overloading the synth with dense MIDI data.

I would write the CAL script to move selected events so they randomly congregate around NOW.

As you have never used CAL before, you might not know how to do this.

Here is a script that shifts all selected controller event to a random position within 50 ticks of the NOW cursor.

(do
    (forEachEvent
        (if (== Event.Kind CONTROL)
            (do
                (= Event.Time Now)
                (+= Event.Time (random -50 50))  :this line can be removed if you do want the events at the exact time rather than randomly shifted
            )
        )
    )
)

  • Like 1
  • Great Idea 1
Link to comment
Share on other sites

  • 0

@cwiggins999 are you moving everything including the note data?

If so then.

1. Place the play head at 1:01:000

2. Enable ripple edit all. 

3. Under Project menu use insert time and measures as noted by @57Gregy

4. In the pop-up box make sure all tick boxes are selected, select ticks.

5. Assuming things start at 1:01:000, enter 6720 ticks. Click OK. 

6. Disabled ripple edit all or despair 

 

If you just want to insert/move the data then.

1. Select the region in the time rule.

2. Ctrl X to cut it.

3. Enable ripple edit all

4. Put the play head at 2:04:000

5. From the edit menu select insert. All your existing data will slide over by however much the cut section is and the cut section will be inserted at 2:04:000.

6. Disable ripple edit all or despair.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...