• SONAR
  • [SOLVED] How to select just the top or bottom MIDI notes? (p.3)
2017/01/06 08:25:19
rogeriodec
Sanderxpander
The more I read about these scripts the more I wish they'd organize and incorporate them into the GUI more. Seems like a lot of power is "lost" for the average user.

Indeed.
But we have to deal with reality.
From experience we know bakers rarely meet the claims of users.
So we'll probably have to deal with many CAL Scripts forever ...
Perhaps the best would be to create a general, centralized Scripting database.
We see several CAL scripts spread across the web, and we always find rare pearls like the one that was posted. Hidden things out there.
I'm sure there are many other fantastic scripts, unknown to most people.
If Cakewalk at least created a forum item for a list of useful scripts, we would be more likely to have greater productivity in daily Sonar use.
2017/01/06 15:32:36
brundlefly
rogeriodec
 
In addition, these scripts show that it is possible to keep notes selected using CAL Scripts (which was said to not be possible).



I did say I could be wrong.  Also. it seems the scripts seem to be making the selection by deleting notes and inserting new ones with the same parameters - not what I would consider a very 'safe' approach.
 
In fact, I did a quick test on a short sequence of triads, and it deleted a 'melody' note, and did not replace it, and selected the middle note of the triad instead. Same thing happened with SelectBass.  So these CALs are typically sensitive to what you give them to work with. In this case, they seem to have erred due to encountering two of the same chord in a row. I didn't analyze the script to see how this might have happened.
2017/01/06 22:38:36
dilletant
rogeriodec, you are welcome!
 
brundlefly, sorry to hear that scripts didn't work for you. This is very strange because they work for me every time.
 
Here is an example of the SelectMelody CAL.
 
Before:
 

 
After:
 

 
I forgot to mention that clock resolution of the project must be 960 ppq.
2017/01/07 07:53:01
rogeriodec
And also one of the great pranks of CAL scripts is that ALL the selected notes must be inside a SINGLE CLIP, otherwise it will not work.
This should be because until the last version of CAL Script made available by Cakewalk, there should still be no concept of clips ...
2017/01/07 09:34:21
Billy86
rogeriodec
Sanderxpander
The more I read about these scripts the more I wish they'd organize and incorporate them into the GUI more. Seems like a lot of power is "lost" for the average user.

Indeed.
But we have to deal with reality.
From experience we know bakers rarely meet the claims of users.
So we'll probably have to deal with many CAL Scripts forever ...
Perhaps the best would be to create a general, centralized Scripting database.
We see several CAL scripts spread across the web, and we always find rare pearls like the one that was posted. Hidden things out there.
I'm sure there are many other fantastic scripts, unknown to most people.
If Cakewalk at least created a forum item for a list of useful scripts, we would be more likely to have greater productivity in daily Sonar use.


+1
2017/01/07 11:57:53
brundlefly
dilletant
brundlefly, sorry to hear that scripts didn't work for you. This is very strange because they work for me every time.

 
The scenario it doesn't handle correctly is two of the same chord in a row with legato durations - e.g. C major triads on 8ths with 8th-note duration.
 
Of course this would never happen with live playing, but it wouldn't be unusual for someone to write a sequence in the PRV like that.
2017/01/07 16:48:08
dilletant
I really don't know what to say... I just did another test with exact same scenario you've described: identical triads with 8th note duration placed legato side by side and it worked perfectly, both Melody and Bass scripts.
It worked even if each note of the triad was in its own clip on different take lanes.
© 2026 APG vNext Commercial Version 5.1

Use My Existing Forum Account

Use My Social Media Account