lilypond-user
[Top][All Lists]
Advanced

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

Re: Dynamics in Lyrics?


From: David Kastrup
Subject: Re: Dynamics in Lyrics?
Date: Sun, 11 Aug 2024 10:20:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Peter Chubb <lily.user@chubb.wattle.id.au> writes:

> Hi Folks,
>    Is there a simple way to add dynamic markings to lyrics?  In a
>    multi-verse song, the dynamics can be different verse to verse.
>
>    I'd like to do something like this:
>
> \score {
>   <<
>     \new Staff \context Voice = tune {\repeat volta 2 { c c c c }}
>     \new Lyrics \lyricsto tune  { \set stanza = "1." \mp get \cresc lou -- 
> der \f here }
>     \new Lyrics \lyricsto tune  { \set stanza = "2."  \ff this is very loud  }
>     >>
> }

First, dynamics are entered _behind_ the event they are supposed to
attach to, not before.  Second, if you want a context to engrave
dynamics, it needs the respective engravers.  Try

\layout {
  \context {
    \Lyrics
    \consists "Dynamic_engraver"
    \consists "Dynamic_align_engraver"
  }
}

\score {
  <<
    \new Staff \context Voice = tune {\repeat volta 2 { c c c c }}
    \new Lyrics \lyricsto tune  { \set stanza = "1." get\mp \cresc
                                  lou -- der here \f }
    \new Lyrics \lyricsto tune  { \set stanza = "2."  this\ff is very loud  }
    >>
}

-- 
David Kastrup

reply via email to

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