This is perfect, but I'll add something else to keep in mind: you can use "\markup \dynamic f" to add dynamics in markup.

Thanks,
-William

On 8/11/24 04:20, David Kastrup wrote:
Peter Chubb <lily.u...@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





--
William Rehwinkel (any pronouns)
Juilliard School '26 - Oberlin Conservatory '24
will...@williamrehwinkel.net - https://williamrehwinkel.net
PGP Public Key: https://ftp.williamrehwinkel.net/pubkey.txt
\version "2.25.18"

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


Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to