musescore / musescore/MuseScore

Playback for Piano Sustain Pedal handled incorrectly for specific cases

Open
#18,495 4 comments 1 reaction 3 assignees View on GitHub

@zacjansheski is already working on this.

Since Jul 10, 2023.

P2 playback regression MS3
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Description

Issue type

General playback bug

Bug description

Piano sustain pedal playback works correctly in most cases, except after a specific pattern of notes.

In this attached example, 2nd-measure 1/8-note chord is played back as a whole note. The similar 1/8-note chord is played back correctly on the 3rd-measure.

This was observed in both 1) start-from-blank MS4 score, as well as 2) import from an old MS3 score file (which used to playback correctly under MS3).

Environment:

  • Musescore 4.1 Release Candidate-1 (pre-release testing)
  • Windows 10/64/home, Desktop i7-gen2 3GHz, 16GB RAM, SSD
  • MSBasic only (no VST, no MuseSounds/Musehub)
Steps to reproduce

Option 1:

  1. Load the attached .mscz file
  2. Play

Option 2:

  1. Start MS4.1 and create a blank/new MSBasic Piano score, MSBasic
  2. Enter 1st measure 1/16-note arpeggio
  3. Enter 2rd and 3rd measure 1/8-note chords
  4. Select 1st measure arpeggio in entirety and add Sustain Pedal
  5. Play
Screenshots/Screen recordings

https://github.com/musescore/MuseScore/assets/116447844/c30ed167-acfd-4909-a2ff-5172730e174c

SusPedal.zip

MuseScore Version

OS: Windows 10 Version 2009 or later, Arch.: x86_64, MuseScore version (64-bit): 4.1.0-231881726, revision: github-musescore-musescore-5f333a2

Regression

I don't know

Operating system

Windows 10/Home/64

Additional context

Snapshot

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.