I’m trying to analyse two polyphonic midi sequences as part of a project to analyse the accuracy of wave to midi software. Many of the notes in one sequence are duplicated in the second sequence, with onsets a few ticks apart. Some notes aren’t duplicated.
If I put the two sequences on different tracks RemoveDupNotes.cal does a good job at removing duplicates, but the output is random; sometimes it’s a duplicate from track 1 that remains, sometimes track 2. What I’d like to do is to identify which notes in track 1 are duplicated in track 2 and then remove the duplicates from just one track.
Does anyone have any suggestions how to modify this script to achieve this?
RemoveDupNotes.cal