Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Shrinking Notes Bug #531
From pyt...@yahoo.com on October 27, 2012 18:57:02
Hey Fingers here is that project file and the script.
There are events on CC3.., I tried with a couple other CC's and received the same result. Just run the script and you should notice that some notes shrink to zero length. As I stated in my post at the REAPER forum this only happens when CC events are present.
Original issue: http://code.google.com/p/sws-extension/issues/detail?id=531
From pyt...@yahoo.com on October 27, 2012 10:08:59
A little more info;
I noticed that the bug does'nt appear if you run the script on an item with only one row of notes and I think it even ran fine with three rows of notes.., Oh-yea this is running on Windows Vista.
From mths.f...@googlemail.com on October 28, 2012 05:00:09
i can fully reproduce that with a brand new midi item and with just
Some note-on's get shifted towards some note-off's of the same pitch, so they will instantly set off. I attached the relevant part of the chunk of Anton's project item.
some interesting points i found out:
From fingersmcgarnickle on October 28, 2012 06:27:14
Thanks mths.funk for looking into it. I fixed it in r923 and r924 . I just changed the sorting function to order by note offset, followed by event type with a special case for note ons.
The issue is that the note-off and note-ons for the same pitch and channel were being switched, so the note-off message for the current note was being put after the note-on message.