-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
Incorporate DrumKeyboardScreen from alter-alter fork #112
Incorporate DrumKeyboardScreen from alter-alter fork #112
Conversation
Can you have a look at the merge conflicts here? |
Yeah, I'll have to figure out how to rebase this on the new folder structure |
fix InstrumentClipView recording Fixed Affect Entire button, improved rendering for drum pads improved select knob on dyumkeyboad Fixed DrumKeyboardScreen Fixed a crash issue when turning the horizontal encoder.
faa3a85
to
d4020bb
Compare
clang format with dbt version clang format keyboard screen
fa611ac
to
1698d97
Compare
Still using the core logic from alter-alter's fork, scrolling horizontally now rotates the drum view like before while vertical scrolling jumps by 4 (thus appearing to go vertically) Also removed the use of 1 as a magic number to indicate default velocity, replaced with a define outside of the 1-127 range of possible midi values to avoid future conflicts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks fine. A few style nits.
The use of uiNeedsRendering
seems to be a little excessive; I suspect most of them are redundant/not needed but don't really have a great way to prove that. If you want to spend time removing them we could probably get a few hundred cycles back but it might not be worth doing if stellar_aria is about to redo all the UI code anyway.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing my fiddly nitpicks, I think this broadly looks OK now. Really excited to have it "upstream"!
To do -
limit horizontal scroll behaviour to only scroll to pads that have drums mappedbased on discussion on discord changed goal to add a separate vertical scroll and move the existing behaviour to horizontal scroll instead