• SONAR
  • Align Midi Notes End to End (p.2)
2015/12/12 12:10:41
Paul P
brundlefly
Or you can talk somebody here in to writing the CAL.



It would probably be pretty easy if you started with legato.cal (and you've programmed before).
2015/12/12 17:34:24
williamcopper
As Paul P says, it doesn't sound like a difficult CAL program  --- but the syntax is so persnickety that nearly any little program is going to require some time spent tracking down spaces and parens -- otherwise I'd volunteer.
2015/12/13 01:35:10
Paul P
 
I was feeling adventurous and in my haste to look into legato.cal I double clicked on it instead of opening it with notepad.  This popped up :
 
         
 
Which had me fearful of CAL being dropped from Sonar.  But then I tried it within Sonar and it appears to work proplerly, though I didn't study the result of the operation.
 
The script is very short.  If you can understand that "(= x y)" really means "x = y" [or "assign y to x"] and
"if (== x y)" means "if (x == y)"  [or "if x happens to be the same as y"] then you can probably figure out the rest pretty easily.  The nested parentheses are just to define the scope of each operation.
 
Which reminds me of when I used to program functions in emacs to make my life easier, 30+ years ago.
 
PS. CAL scripts are invoke by selecting "Process / Run CAL..." from Sonar's main menu.
 
2015/12/16 13:33:56
JenksTer
Hello all,
 
Thanks for the info on the CAL scripts.
 
Happy to pay a few hundred bucks if someone would be up for writing a CAL script to do this?
 
Thanks,
 
Shaun
2017/02/12 15:24:02
CynicalDude
I'm feeling with you here  Did you ever come up with a solution?
12
© 2026 APG vNext Commercial Version 5.1

Use My Existing Forum Account

Use My Social Media Account