lilypond-user
[Top][All Lists]
Advanced

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

Re: Tremollos


From: Kieren MacMillan
Subject: Re: Tremollos
Date: Thu, 10 Aug 2006 15:06:28 -0400

Ola, Alberto!

My current problem is understanding how it works.
I need a tremolo to take up an half note, and it should be fuse notes (1/32 notes).
Can anybody give me a hint?

Here's a starting template:

%%%  CODE ENDS
\version "2.9.14"

\paper
{
        indent = 0\in
        ragged-right = ##t
}

tremoloMusic = \relative c''
{
        \time 3/4
                \repeat "tremolo" 1 { c8 d8 }
                \repeat "tremolo" 2 { c8 d8 }
        \time 6/8
                \repeat "tremolo" 3 { c8 d8 }
        \time 4/4
                \repeat "tremolo" 4 { c8 d8 }
        \break
        \time 6/8
                \repeat "tremolo" 1 { c16 d16 }
                \repeat "tremolo" 2 { c16 d16 }
                \repeat "tremolo" 3 { c16 d16 }
        \time 6/4
                \repeat "tremolo" 4 { c16 d16 }
                \repeat "tremolo" 8 { c16 d16 }
        \break
        \time 5/8
                \repeat "tremolo" 1 { c32 d32 }
                \repeat "tremolo" 2 { c32 d32 }
                \repeat "tremolo" 3 { c32 d32 }
                \repeat "tremolo" 4 { c32 d32 }
}

\score
{
        \tremoloMusic
}
%%%  CODE ENDS

Key points to remember:
1. The duration of the note(s), e.g., c32, will determine the duration of the tremolo (e.g., how many beams will be printed). 2. The overall length of the resulting tremolo will be the combined duration of the alternating notes (i.e., inside the {} brackets) multiplied by the \repeat parameter -- e.g., \repeat "tremolo" 4 { c32 d32 } will be 4 x (2 x 32nd) = 4 x 16th = 1 quarter in duration, as seen in the final template example.

Best regards,
Kieren.






reply via email to

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