The math is very simple, you want to squeeze in 3 half notes
to have the same duration as 2 normal half notes, so each of them
has to be 2/3 times as long as normal.

The tupletSpannerDuration property, on the other hand, is something
completely different. Normally, when you use \times 2/3 {...}, you
will get a single |_____ 3 ____ | bracket for all the notes within the
{...}, in other words, you have to write a new \times 2/3 {...} for
each new triplet. The solution to this problem is tupletSpannerDuration,
which splits a long run of triplet notes into a number of separate
triplet brackets. The value of the property should be the total duration
of each triplet, which is a full bar in your example. Of course, if you
don't need this feature, you should \unset the property again.

   /Mats

Chip wrote:
Paul Scott wrote:

Chip wrote:

Now that the previous triplets question is answered and working properly howabout this one -

I have 4/4 time, 3 triplet 1/2 notes in one measure. I can get the 3 notes in the measure, but the triplet indicator is the # 3 under each individual note, and no bar.

\times 2/3 {fs2 fs fs ~}

I've tried some variations on this -
\set tupletSpannerDuration = #(ly:make-moment 1 4)
in front of it but to no avail.



Did you set this previously? It says group the tuplets in quarter (1 / 4) note groups which is smaller than the grouping you are indicating. The correct one for a 4 quarter note (one whole note) grouping would be:
\set tupletSpannerDuration = #(ly:make-moment 1 1)
meaning whole note (1/1) groupings.


I took me a while to figure out how that related to the tuplets I wanted.

I would guess there is a way to reset tupletSpannerDuration to get it back out if the way but I haven't looked that up yet. Otherwise once you use it in a score you will have to keep changing it for each new tuplet group size.

HTH,

Paul Scott


Thanks Paul,
I did have it set previously in the music for another set of triplets. I set it to make-monent 1 1 and it now prints the half-note triplets correctly. I guess I just don't understand the \times fraction (I'm lousy at anything matematical), how it actually works, I've just been shooting in the dark, trying differant numbers until it 'works'.


Regards,
Chip



_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================


_______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to