• SONAR
  • remove double or more midi hitts
2015/05/27 16:38:45
ØSkald
Is there a fast way of deleting duplicated midi hits? Call file?
2015/05/27 16:40:35
scook
There is a CAL script called UNDUPE.CAL.
2015/05/27 16:42:03
Zargg
scook
There is a CAL script called UNDUPE.CAL.


Sweet! I did not know that. Will save me hours
2015/05/27 16:43:52
Beepster
Depending on the circumstances the MIDI Deglitch fuction/process can fix such things. It will search for notes that are a) under a predefined length or b) under a predefined velocity.
 
So if your notes fall under those categories (like the double triggers are really short or really low velocity) then it would work. If they are the same length/velocity as a normal note in the file then unfortunately it won't. I just deal with those manually.
 
Cheers.
2015/05/27 16:47:52
Beepster
scook
There is a CAL script called UNDUPE.CAL.




Cool. I get double hits from my padKontrol expression pedal which is fixed velocity and the hits are generally the same length as a regular hit.
 
However... how does it define a duplicate hit? Hits that occur at EXACTLY the same time? Because mine never do. Secondly... which hit would it remove or is that something that can be defined? 
 
I have not yet explored how Calscripts work. This would be a good excuse.
 
Hopefully not a threadjack... but it seems to be on topic.
 
Cheers.
2015/05/27 16:55:32
scook
The script prompt for a time window. When the same note appears in the window, it removes the duplicate. At least that is how it is supposed to work.
2015/05/27 17:03:39
Beepster
Cool. I will be trying that out. Seems like it may solve some of the specific limitations that Deglitch presents for my specific issues... and now hopefully OP has a couple useable options.
 
Thanks.
2015/05/28 05:12:41
Bristol_Jonesey
Another way, although this is a bit long winded (but 100% accurate) is to open up your midi track in Staff View.
 
Any duplicate notes will appear twice on either side of the "stalk" - you can then select one of the duplicates and hit the delete key.
 
Note: sometimes when doing this Sonar will delete BOTH notes, BUT if you hit control + Z (undo) it miraculously puts just ONE note back on the stave, which is exactly where you want to be.
2015/05/28 05:18:22
mettelus
Hmmm... So would opening staff view, selecting all notes, deleting them (all), and hitting CTRL-Z work the same way?
2015/05/28 05:46:15
Bristol_Jonesey
Don't know - never tried it, but I like your thinking.......
12
© 2026 APG vNext Commercial Version 5.1

Use My Existing Forum Account

Use My Social Media Account