Hi all, I want to record a melody with a control keyboard and using the CAL language round the duration to the nearest note. Since the human touch is imperfect, the durations of the notes are not exact. I would like to run a script that would adjust the notes to their correct duration, so when exporting a midi track to other software to write scores (Finale, Sibelius, etc.) there would be no notes with unwanted durations. Can someone guide me to write the code, or better, give me the code of that script?