Skip to content
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

Revamp tuplet offset settings #16973

Open
oktophonie opened this issue Mar 22, 2023 · 1 comment
Open

Revamp tuplet offset settings #16973

oktophonie opened this issue Mar 22, 2023 · 1 comment
Assignees
Labels
engraving feature request Used to suggest improvements or new capabilities needs design Design is needed

Comments

@oktophonie
Copy link
Contributor

oktophonie commented Mar 22, 2023

It was recently brought to my attention that we cannot achieve this (fairly normal) style of tuplets in MuseScore:
image
image

With the current settings we can achieve either one of those but not both, since it is assumed you always want to offset relative to the stem when the end(s) of the tuplet are at the stem side.

I'd propose that we solve this quite simply by adding one new toggle:

  • our 'starting point' is that the tuplet starts at the left of the bounding box of the primary note (or rest) on the left, and ends at the right side of the bounding box of the primary note (or rest) on the right - as pictured above;
  • we have two offset fields, for the left and right sides of the tuplet (which would default to 0 and 0; these correspond to the current 'Distance before head of first note' and 'Distance after head of last note', though just "Left offset" and "Right offset", or something, may be less confusing)
  • we add a switch for "Offset relative to stems" (which could default to true, since that's the current behaviour); when this is on, it enables two more options for 'stem side offsets', left and right (which could default to -0.5 and +0.5, to match current behaviour; these correspond to the current 'Distance before stem of first note' and 'Distance after stem of last note'; the difference is that, by adding the switch, the user can now specify whether they want the stems to be relevant to the calculations or not). These offsets will only apply when a stem is present and the end of the tuplet is at the stem side.

If possible, while here, if we can add a toggle for 'extend bracket to last unit of tuplet' (someone else can think of a snazzier name for this), to enable the following, that would be delightful:
image
(This now also requested as #19851)

Note this is similar to the solution I'm suggesting for hairpins here.

Thoughts?

@oktophonie oktophonie added engraving feature request Used to suggest improvements or new capabilities needs design Design is needed labels Mar 22, 2023
@oktophonie oktophonie added this to To do in 4.x SHORTLIST via automation Mar 22, 2023
@XiaoMigros
Copy link
Contributor

Speaking of tuplet style settings, it would be great to be able to adjust the padding of the number between the brackets, currently it seems to be hardcoded to 0.5sp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engraving feature request Used to suggest improvements or new capabilities needs design Design is needed
Projects
4.x SHORTLIST
  
To do
Development

No branches or pull requests

3 participants