• SONAR
  • How to remove duplicate midi notes with Undupe CAL?
2015/08/22 20:00:22
twelvetone
After editing a midi bassline, I have discovered double overlaying notes.
Done some searching and the solution apparently is the "undupe" cal script.
 
I cannot get it to work.
 
At the start, it asks for "Window for time identity", which is 0 by default.
No matter what I enter, it returns with "deleted 0 duplicate events".
 
It does not even find a double pair of notes I put in manually.

Anyone know how it is supposed to work?
 
I have Sonar X3e.
2015/08/23 05:48:28
Notecrusher
Yeah that CAL is not working for me either. A lot of old CAL scripts don't work anymore due to the changes to the s/w over the years.
2015/08/23 15:44:55
twelvetone
This is getting disheartening.
 
So often when I try out something in Sonar, it's outdated, buggy or doesn't work properly anymore.
 
Are new features being piled on top of a crumbling core?
 
I found a 101 page document from 2010 called Cakewalk Application Language Programming Guide,
so I'm teaching myself CAL now so I can get to the bottom of this problem.
2015/08/23 17:21:38
Notecrusher
CAL is very old and is not supported anymore. There's plenty of CAL scripts that still work but you can't be guaranteed that any particular CAL will work because it is a deprecated feature. I suggest up-voting this feature request:
http://forum.cakewalk.com/Replace-CAL-With-Python-m3098713.aspx
 
 
2015/08/23 21:51:25
icontakt
I can also confirm that Undupe no longer works. I don't know when it got broken, but I was planning to use it on many projects in the near future, so this is very bad news for me.
 
twelvetone
This is getting disheartening.
 
So often when I try out something in Sonar, it's outdated, buggy or doesn't work properly anymore.
 
Are new features being piled on top of a crumbling core?


 
I think so. There are a number of bugs that haven't been fixed for more than 1-2 years after they were found and reported. CW gave higher priority to redesigning the start page, which nobody really asked for, over fixing a bug that 40+ users wanted fixed.
 
I often wonder if it's the same in the other old daws like PT, DP, and Cubase.
2015/08/24 01:47:49
scook
The script could be simplified but it appears to work OK.
 
The script works on freshly selected clips (IOW, if the script is aborted make another selection before running the script again). If no clips are selected, nothing will change.
 
The user input is in Ticks. The value is divided by 2 then added to and subtracted from the last note start time to determine of the last note overlaps the current note. If it does overlap and the note key values are the same, the script deletes the current note.
 
2015/08/24 02:37:04
Notecrusher
It does not work in Splat.
2015/08/24 02:45:05
scook
I tested in SONAR Platinum before posting.
2015/08/24 02:57:53
icontakt
Maybe it's not working properly? (Just tried it in the Normal project template)
 

2015/08/24 03:13:28
scook
Did you try changing the time window?
© 2026 APG vNext Commercial Version 5.1

Use My Existing Forum Account

Use My Social Media Account