Hey Darfakias!
With overlapping notes, something else is meant:
overlapping notes: same note, same pitch and overlapping.
That's something the Reaper API can't deal with. That's why you got strange results, when removing the code from my script.
That's scenario that will actually never happen when recording piano, but when you insert notes manually on top of another note OR (I think) when you punch in
over a note. There's an action in the MIDI editor called "correct overlapping notes". Execute that one and run my script again. This should fix the problem.
|