-
-
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
Add shortcut for Chord Inversions #7718
base: master
Are you sure you want to change the base?
Conversation
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.
Code looks fine and the functions works as intended. I've thrown complex note patterns at it and you can invert the patterns up/down and it seem to end up where you started. I don't think you can expect it to work that well for all combinations but it may well be the case. I don't think it has to though as there is always Ctrrl+Z. Job well done.
Please note that if you push the notes up/down far enough they will 'clip' at the top/bottom note and will no longer be a chord but a single note in the end (invert it up 10 octaves and down again...). This may or may not be desired but is not a part of this PR.
If it is a context menu, then qt will allow it. |
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.
I reviewed and tested this and it works as intended. I'm not sure where this would be useful, but if there is a use for this, then this can be merged.
It seems that it's not exactly a context menu(?) The actions are added directly to the tool button with |
I don't know how I feel about this feature, mainly since I dunno, if users are pushing for it to be in LMMS, I'll gladly test it, but I personally am not a big fan. |
This again. How does these features compare?
You haven't tested it?
Separate PR is fine with me. Merge is fine by me. |
One is a subset of the other, which is why I feel like we're adding in a feature that already "exists".
No, not yet. I would like to give my opinion and talk about the feature before testing. |
But I do agree it's kinda bloating the context menu lol. I can do something about that in a separate PR if it becomes a large enough issue. |
This PR adds the ability to invert a selection of notes in the PianoRoll, where the top note moves down
n
octaves/bottom note moves upn
octaves. This feature works on selections of notes too, moving all notes on the min/max key up/down. It also works on microtonal scales which may have different octave sizes.Edit: The keyboard shortcuts have been reversed. Now Shift+U is for Upward inversion.
The icons probably need to be changed. Also I think the two options might take up too much space in the menu. I was thinking of adding a sub menu, but I'm not sure Qt allows that.
2025-02-16.19-43-23.mp4