Open
Conversation
miiizen
requested changes
Feb 3, 2026
Contributor
73d99ea to
324b952
Compare
cbjeukendrup
reviewed
Feb 5, 2026
src/engraving/dom/guitarbend.h
Outdated
|
|
||
| enum class QuarterOffset : unsigned char { | ||
| QUARTER_FLAT, | ||
| enum class QuarterOffset { |
Member
There was a problem hiding this comment.
Suggested change
| enum class QuarterOffset { | |
| enum class QuarterOffset : signed char { |
miiizen
reviewed
Feb 5, 2026
| break; | ||
| case ElementType::ACCIDENTAL: | ||
| m_accidental = toAccidental(e); | ||
| m_centOffset = Accidental::subtype2centOffset(toAccidental(e)->accidentalType()); |
Contributor
There was a problem hiding this comment.
Is it worth changing all existing usage of Accidental::subtype2centOffset to use the note's centOffset property now? eg. in Note::playingTuning and TLayout::layoutNoteAnchoredLine?
Contributor
Author
There was a problem hiding this comment.
Almost certainly yes, but I'd rather do that after the release so that we keep these changes as confined as possible for now
miiizen
approved these changes
Feb 5, 2026
Contributor
miiizen
left a comment
There was a problem hiding this comment.
Looks good! Also glad we're making a step in the right direction for better tuning support
Contributor
It's unnecessary and not general enough now that we have centOffset corrections
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.








Resolves: #31109
UPDATE. Microtonal bends work based on microtonal accidentals. If there is at least one notation staff, the information about accidentals propagates to TAB staff too. But if there isn't, TAB staves don't support any accidental logic, therefore microtonal bends don't work. This PR adds the "cent offset" information to notes themselves (as opposed to just inferring it from the accidental) which is anyway a necessary step to support microtonal music in future.