lilypond-user
[Top][All Lists]
Advanced

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

Re: Lyrics to rests?


From: Peter Johnson
Subject: Re: Lyrics to rests?
Date: Wed, 21 May 2008 07:29:19 -0700 (PDT)

.. or if adding hidden notes becomes tedious in an extended or complex
section, you can use tags as described in the "Lyrics independent of notes"
section of the manual.  With pitched music, this also seems to avoid the
risk that accidentals appear in unexpected places or not at all, since a
hidden note is taken into account in applying the rules for accidentals. 
For example:

\version "2.11"

counting = \lyricmode { "1" "+" "2" "+" "3" _ "4" _ | "sniff" "+" "2" "+"
"3" _ "4" _ | "1" "2" "3" "4" | "1" "2" "3" "4" }

notation = {
        \override Score.StaffSymbol #'stencil = ##f
        \set Score.proportionalNotationDuration = #(ly:make-moment 1 8) 
        \tag #'music { f8 f4 f8 f4 f | r8 f4. f2 | \times 2/3 {f4 f r4} r8 f8. 
f |
\times 4/5 {f4 f f f f } }  
        \tag #'countingrhythm { \repeat unfold 16 { f8 } \repeat unfold 8 { f4 
} } 
} 
<< 
        \new RhythmicStaff 
        \keepWithTag #'music \notation
        \new Devnull="nowhere" \keepWithTag #'countingrhythm \notation 
        \new Lyrics \lyricsto "nowhere" \counting
>> 

HTH.

Peter




> The simplest way I can think of to align a syllable with a rest is to 
> add an invisible note in parallel
> with the rest, which the lyrics can align to:
> \version "2.11"
> 
> \new RhythmicStaff {
>    \override Score.StaffSymbol #'stencil = ##f
>    f8 f4 f8 f4 f | <<r8 {\hideNotes c8 \unHideNotes } >> f4. f2 |
> }
> 
> \addlyrics {
>   "1" "+ 2 " "+" "3" "4" | "1" "+ 2 +" "3   4"
> }
> 
>    /Mats
> 
-- 
View this message in context: 
http://www.nabble.com/Lyrics-to-rests--tp17322375p17364272.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.





reply via email to

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