Jump to content
  • 0
Grzegorz Moskal

MIDI: easy octave shift

Question

Is it possible to easily shift a selection of notes by an octave with a keybind? Or to create a macro, that will either apply 12 vertical nudges or do Process>Transpose>+/-12 semi?

 

Share this post


Link to post
Share on other sites

9 answers to this question

Recommended Posts

  • 1

Yes, a CAL script bound to keystrokes is one way to perform the task.

Here is a simple shift up 12 script

(do
 (forEachEvent
  (if (&& (== Event.Kind NOTE) (< Note.Key 115))
      (+= Note.Key 12)
    )
  )
)
 


 

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites
  • 0

It would be nice to improve the GUI and selection tools for this in the track view and inspector views. It would be lot more convenient than keybinding a CAL.

Share this post


Link to post
Share on other sites
  • 0

CAL isn't the only way, one could select and drag notes or use the Event Inspector but the OP specifically asked about key binding.

Alternately one could use autohotkey to script a solution.

Share this post


Link to post
Share on other sites
  • 0
3 hours ago, RBH said:

It would be lot more convenient than keybinding a CAL.

To me, this would be the most convenient method.  Once its set up, it's there forever....

Share this post


Link to post
Share on other sites
  • 0

The Transpose dialog once you set it to any number (example +12)  stays like that until you completely close Cakewalk.

Often I leave my DAW on for days at a time and just put it to sleep when I stop for the day. It's off line when I do this. 

I have set the "H" key to open the Transpose dialog. So for me it's pretty straight forward and only a few moves. Probably like 5 seconds. 

Share this post


Link to post
Share on other sites
  • 0
15 hours ago, John Vere said:

The Transpose dialog once you set it to any number (example +12)  stays like that until you completely close Cakewalk.

Often I leave my DAW on for days at a time and just put it to sleep when I stop for the day. It's off line when I do this. 

I have set the "H" key to open the Transpose dialog. So for me it's pretty straight forward and only a few moves. Probably like 5 seconds. 

You see, functionality is what saves you that 0,5 sec. If you have to repeatedly do something taking 0,5 sec longer, it just drives you crazy.
Yes, I could just shift+drag, but I would need to specifically aim for the octave, which takes much longer than pressing a bind. Same for event inspector.
Yes, I could use Process>Transpose>+12, but again it would take longer than pressing a bind. And I have to change it from 12 to -12, if transposing down. 

Edited by Grzegorz Moskal

Share this post


Link to post
Share on other sites
  • 0

Ok, got the scripts working. Now, how do I bind them?

EDIT: found it, didn't expect to have the list of scrips in the preferences.

Edited by Grzegorz Moskal

Share this post


Link to post
Share on other sites
  • 0
On 9/13/2021 at 1:28 AM, Grzegorz Moskal said:

Ok, got the scripts working. Now, how do I bind them?

EDIT: found it, didn't expect to have the list of scrips in the preferences.

Preferences(advanced) | Customisation | Keyboard Shortcuts > Area: Global Bindings

Your CAL scripts will be at the bottom - just scroll down until you find your specific script. 

In the left  , select the key combination (Or use Locate Key).  In the right column, select your script.  Then click “Bind”.  You should see a line connecting the key combination to the action.

When done, I like to export my key bindings to a file as a backup.

As long as you have saved your CAL scripts in the folder as defined in Preferences | File | Folder Locations > CAL Files (5th down), your scripts should appear in that list to the right.

Share this post


Link to post
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...