-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
fermata_duration_fix #24921
base: master
Are you sure you want to change the base?
fermata_duration_fix #24921
Conversation
@@ -579,15 +579,16 @@ void Score::rebuildTempoAndTimeSigMaps(Measure* measure, std::optional<BeatsPerS | |||
} | |||
} | |||
} | |||
if (!RealIsNull(stretch) && !RealIsNull(stretch)) { | |||
|
|||
if (!RealIsNull(stretch) && !RealIsEqual(stretch, 1.0)) { |
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.
src/engraving/dom/score.cpp
Outdated
if (segment.next1()) { | ||
currentSegmentEndTick = segment.next1()->tick(); | ||
if (const Segment* nextActiveSegment = segment.nextActive()) { | ||
currentSegmentEndTick = nextActiveSegment->tick(); |
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.
Ideally, the duration of the fermata should be based on the duration of the ChordRest that the fermata is applied to (fermatas can be voice-specific, so in this case the voice-0 chord). That's often not the same as the duration of the segment itself. This kind of situation is quite common: here the fermata should last 4/4, even if the segment ticks is 1/8.
We can do this later though. For now this looks ok to me
87fbbf7
to
9bfba24
Compare
…ting fermata duration
9bfba24
to
2058077
Compare
Resolves: #24852