Tuplet 3:2 over the space of a whole note (0.9.6 regression)

• Jan 14, 2010 - 22:55
S4 - Minor

Steps to reproduce bug
1. Create new score in 4/4
2. Select a whole measure rest
3. Notes > Tuplet > Triplet

Expected behavior: 3 half notes (in the space of 2 half notes)

Actual behavior: 3 quarter notes (in the space of 2 half notes)

MuseScore version: r. 2605. (Bug not present in 0.9.5)

(Operating System: Windows XP)


This formula probably needs more research, but off the top of my head the following seems right.

Let r1 and r2 be the two positive integers that make up the ratio.
(For example 3:2 would correspond to r1 = 3 and r2 = 2)

Let TD be the Total Duration of the triplet
(Our example is a whole note so the full duration is 1)

Let ND be the nominal duration
(In our example the nominal duration should be half notes (1/2) but it is inaccurately displaying as quarter notes (1/4) )

Formula: ND = TD / r2

Somehow i managed to break the code again. Rev. 2616 works better.
The "Other Tuplets" dialog in the current version only accepts a relation. The created tuplet is filled with rests of the longest possible duration.