-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arpeggio Sort mode counts one extra step #2589
Comments
Confirmed, that is some strange behavior right there. Do you know if this affects all versions? Or did it work correctly in an earlier version? |
I used it on the same project the same way and it changed right after upgrading. In the instrumentfunctions.CPP there is very little change in the sort arpeggio part, so I wonder if it depends on something else |
it actually even make one chord in the sort sequence |
But having a completely broken MIDI Export is ok!? |
Ah, so it's a regression, that gives some hope of an easy fix. @zonkmachine Do you by any chance feel like working your bisect magic on this 😇? |
On the case. |
|
|
@musikBear Please stop trying to manage our release features. |
@zonkmachine Thanks a bunch, that was very helpful! Right, I've hunted down the cause of the bug. NotePlayHandles generated by arpeggio or stacking used to be managed by their parent NotePlayHandles, but that changed with the commit zonkmachine found. Now those NotePlayHandles are added directly to the mixer. This causes some methods to return incorrect results, as they expect to find only parent NotePlayHandles in the mixer. Those methods ( I'll make a pull request, but it'll have to wait a little. My head hurts of all this bug chasing 😵. I have to start pacing myself, I think. |
@Fastigium, quick, write a wiki page before you forget all the dirty details! Didn't you drill pretty deep into some other part of LMMS the other day as well? |
@softrabbit Yeah, that resulted in #2586. That one should probably be merged soon. I was just hoping someone would look over the code and say if it looks good or not. By the way, I'm working on a pull request for this bug as we speak. Writing a wiki page sounds like just as much work as just fixing it 😋. My previous comment contains enough information for me to pick things up where I left off. |
Right, pull request made (#2603)! Another one that took hours to come up with and that only changes a few lines. I swear I've got the largest hours invested to lines of code touched ratio 😁. At any rate, testing welcome! |
If you happen to have a win64 build, I'm here to test it ;) |
@DeRobyJ Here you go: https://drive.google.com/uc?export=download&id=0ByJw4p5_PU1cZTJZWmhhRzdrUk0 |
Yep, works! |
@DeRobyJ Thanks for reporting, the next RC will include the fix! |
Use sort mode and notice it counts one more note, leaving silence between repetitions.
It's actually quite unconstant.
I hope this video will help, it's a bit out of sync tho
https://www.youtube.com/watch?v=RO2Yru1qrdM
The text was updated successfully, but these errors were encountered: