lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: different rhythmic units for tuplet's numerator and denominator


From: Kieren MacMillan
Subject: Re: different rhythmic units for tuplet's numerator and denominator
Date: Mon, 7 Jul 2008 18:14:32 -0400

Hi Uri,

So, the only solution is to indicate in the bracket 3$:5& (where $=eight note sign and &=sixteen note sign). I am very new to lilypond, and know no scheme.
Is what I am asking possible?

Absolutely -- the following example, while not perfect, should give you the hints you need.

Hope this helps!
Kieren.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.11.49"

tupletExample = \markup
{
        \line
        {
"5" \translate #'(-0.2 . 0) \fontsize #-4 \general-align #Y #DOWN \note #"8" #1
                :
"3" \translate #'(-0.2 . 0) \fontsize #-4 \general-align #Y #DOWN \note #"16" #1
        }
}


upper = \relative
{
        c'4 c \times 4/3 { c4*1/2 c c }
        c4 c \times 4/3 { c8 c c }
}
lower = \relative
{
        c'4 c
        \once \override TupletNumber #'stencil = #ly:text-interface::print
                \once \override TupletNumber #'text = \tupletExample
                \once \override TupletNumber #'Y-offset = #3
        \times 4/5 { c8 c c c c}
        c4 c \times 4/5 { c4*1/2 c c c c }
}

<<
        \upper
        \lower
>>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%




reply via email to

[Prev in Thread] Current Thread [Next in Thread]