Skip to content

Fix ghost note playback [4.7]#32406

Merged
RomanPudashkin merged 1 commit intomusescore:4.7from
miiizen:32318-drumGhostNotes
Mar 3, 2026
Merged

Fix ghost note playback [4.7]#32406
RomanPudashkin merged 1 commit intomusescore:4.7from
miiizen:32318-drumGhostNotes

Conversation

@miiizen
Copy link
Contributor

@miiizen miiizen commented Feb 26, 2026

Resolves: #32318

@miiizen miiizen closed this Mar 2, 2026
@miiizen miiizen force-pushed the 32318-drumGhostNotes branch from 3b70ca5 to b88cbba Compare March 2, 2026 08:16
@miiizen miiizen reopened this Mar 2, 2026
@miiizen miiizen marked this pull request as ready for review March 2, 2026 08:17
}

if ((bend->bendType() == GuitarBendType::PRE_BEND || bend->bendType() == GuitarBendType::PRE_DIVE)
&& !startNote->bothParentheses()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we remove bothParentheses() now?

bool Accidental::parentNoteHasParentheses() const
{
return explicitParent() && parentItem()->isNote() ? toNote(parentItem())->bothParentheses() : false;
return explicitParent() && parentItem()->isNote() && toNote(parentItem())->parenInfo();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like the name of this method... It's very easy to confuse it with the word "parent". Could you rename it to parenthesisInfo()?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I have larger tidy/refactor chord parentheses open at the moment and would prefer to do it here

@RomanPudashkin RomanPudashkin linked an issue Mar 2, 2026 that may be closed by this pull request
4 tasks
@miiizen miiizen force-pushed the 32318-drumGhostNotes branch from 0f108ab to 888d6f0 Compare March 2, 2026 08:46
@miiizen miiizen changed the title Add implementation of bothParentheses for notes Fix ghost note playback Mar 2, 2026
@zacjansheski
Copy link
Contributor

Tested on MacOS Tahoe 26.2, Windows 11, Ubuntu 22.04.3. Approved
#32318 FIXED

@miiizen miiizen force-pushed the 32318-drumGhostNotes branch from 888d6f0 to a7aa0ba Compare March 3, 2026 16:43
@RomanPudashkin RomanPudashkin merged commit 1355479 into musescore:4.7 Mar 3, 2026
12 checks passed
@RomanPudashkin RomanPudashkin changed the title Fix ghost note playback Fix ghost note playback [4.7] Mar 6, 2026
miiizen pushed a commit to miiizen/MuseScore that referenced this pull request Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drum Kit Parenthesis (ghost notes) aren't softer in 4.7

3 participants