musescore / musescore/MuseScore

'Regroup Rhythms' doesn't handle eighths and smaller note values correctly

Open
#17,322 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

community feature request
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Description

Bug description

'Tools/Regroup Rhythms' could use some improvement with how it handles note values smaller than quarters. This feature is especially helpful for beginners without much engraving experience, and for quickly reformatting notes after input.

See the example score (attatched below) for instances where the tool makes some errors. Change the extension to .mscz before opening.
regroup_rhythms_mistakes.zip

Steps to reproduce
  1. Create a new score
  2. Input notes with no regard for rhythmic spelling
  3. Apply 'Tools/Regroup Rhythms' to the score
  4. For more complicated rhythms, notice the errors
Screenshots/Screen recordings

image

MuseScore Version

4.0.2

Regression

No.

Operating system

Windows 10

Additional context

No response

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.

Research direction

Start by opening the attached regroup_rhythms_mistakes.zip example after changing its extension to .mscz, then reproduce the problem through Tools/Regroup Rhythms using the listed steps. Trace the implementation of that tool and compare its output with the examples, including eighth notes and smaller values. Done means the incorrect regroupings shown in the score are corrected.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.