musescore / MuseScore

MuseScore is an open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!
https://musescore.org
Other
12.28k stars 2.66k forks source link

Ability to change displayed number for tuplet #23871

Open wizofaus opened 3 months ago

wizofaus commented 3 months ago

Your idea

Would like the ability to use a number other than the actual tuplet numerator (e.g. show "6" when it's actually a triplet)

Problem to be solved

I've entered a bunch of music in triplets over 1/2 notes. In most cases it looks fine with a 3 but when it's 6 1/8 notes it looks wrong, and I would like to display as a 6. Either that or split such triplets into two triplets over 1/4 notes.

Prior art

No response

Additional context

Alternatively I'd think it should be fine if you can modify the actual underlying tuplet ratio providing it makes sense to do so.

Checklist

XiaoMigros commented 3 months ago

You can change the number by defining a custom tuplet (Add/tuplet/other)

wizofaus commented 3 months ago

For tuplets already entered?

wizofaus commented 3 months ago

I can do it by editing the mscx file at least. I noticed two curious things though when doing so. One was that some tuplets have this:

        <Number>
          <style>tuplet</style>
          <text>3</text>
          </Number>
        </Tuplet>

But changing THAT number does, as far as I can tell, nothing at all. I even tried changing it to a word.

The other is that all my tuplets have <baseNote>quarter</baseNote> despite the fact that they're actually tuplets that span a half note. And later on where I do have tuplets spanning a quarter, they have <baseNote>eight</baseNote>. Which I can sorta kinda understand if you multiply that by the "normalNotes" property, but then when I changed a tuplet from

        <normalNotes>2</normalNotes>
        <actualNotes>3</actualNotes>
        <baseNote>quarter</baseNote>

        to

        <normalNotes>4</normalNotes>
        <actualNotes>6</actualNotes>
        <baseNote>quarter</baseNote>

surely that should mean the tuplet now spans 4 quarter notes? Yet it doesn't... (On further experimentation, it seems that's because it couldn't fit within the measure if so, so it somehow automatically adjusts it, but normally it should be changed to "eighth" in such a case).