There have been some issues in the past, which involve 'overlapping notes', i.e. cases where the note-off event for a specific note comes *after* the note-on event of a subsequent note with the exact same note number. There currently is an option "Automatically correct overlapping notes" that is supposed to address these issues (see e.g.
here and
here).
However, it does the exact opposite of what I want. There are two ways to correct this: one is to shorten the overlapping notes so they do not overlap anymore; the other is to join all overlapping notes into a single, continuous note. REAPER currently does the former, while I want the latter (for something I'm working on currently, at least).
Is there perhaps any way to achieve this easily, that is, not requiring me to join such groups of overlapping notes manually (as that would be *very* tedious)? Preferably, I want to transform the MIDI destructively.