On 6/12/20 3:29 PM, Arnaldo Pirrone wrote:
It looks like rosegarden sets the duration of the notes manually inserted from the piano roll into the drum track to 3840. This causes the velocity ruler to appear clogged up like you can see in the attached picture.
Actually, the code to do this is more complicated than just 3840. It adjusts the size to end at the end of the bar, or at the beginning of the next note(s) of the same pitch. I have no idea why. My best guess is that it is trying to make all percussion notes contiguous to a certain extent. No drum synth that I've seen cares about note-offs, though.
I modified the relevant part of the code to go with 64th notes and it seems to work fine. Even open/closed hat work exactly as expected.
Before I push this, does anyone have any ideas why there might be such a complicated algorithm for computing the end of a percussion note? The relevant code is here if you want to have a look:
MatrixPercussionInsertionCommand::getEndTime() Warning: There are no comments. Ted. _______________________________________________ Rosegarden-user mailing list Rosegardenfirstname.lastname@example.org - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user