Plugin to convert existing durations to tuplets
I had an issue yesterday where I'd entered a long passage in straight 1/8th notes accidentally then realised they should all be triplets - and couldn't find a way to make them so!
So I figured it must be possible with a plugin, and put one together that basically does the job.
At this stage it's hard-coded to always do triplets (easy to change though), and note that it basically ignores the durations of the existing notes except the first one - it uses that to determine the triplet duration, then all subsequent pitches are converted to the same duration regardless of original duration. It also ignores rests, but that's probably not hard to change, and it applies to all notes in the time period selected even if you've only selected individual notes, which I tried fixing but gave up after a while because I didn't really need it.
It's also not quite polished in the way it pads out the remaining rests but it's good enough what for I want.
Have attached anyway in case anyone's interested.