lilypond-user
[Top][All Lists]
Advanced

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

Per-stanza dynamics inline with the text: How does one best achieve it?


From: Michael van der Kolff
Subject: Per-stanza dynamics inline with the text: How does one best achieve it?
Date: Mon, 10 Dec 2012 06:02:36 +1100

The effect I would like to achieve is that the dynamics markings in the middle of the stanza go at the end of the previous bar.  My skills aren't quite up to it, though.

I noticed in a couple of mailing list posts that dynamics can be put in line with lyrics.  Unfortunately, doing that as, e.g. (verse two below):

verseTwo = \lyricmode {
  \set stanza = #"2. "
  Sing8 lull-8 a-8 by!4. 
  lull-8 a-8 by8 ba-4 by,8 sweet-4 ly-8 sleep-4 ing:8 
  sing8 lull-8 a-8 by!4.
  Hush,8 do8 not8 wake4 the8 in-4 fant8 king;4.
  \markup {\dynamic "p"} soon8 will8 come8 sor-4 row8 with4 the8 mor-4 ning8
  soon8 will8 come8 bit-4 ter8 grief4 and8 weep-4. ing:4.
  sing2 lull-8 a-8 by.4.
}

means that somehow the dynamics marks are worth a full measure, and the Wrong Thing happens.  What I would really like to happen is to widen the previous bar slightly, put the dynamics marks at the end of that bar, and just write it as above.

BTW, this happens with and without articulate.ly.

This is where I got up to:


[Begin full script]
\include "articulate.ly"
\header {title="The Infant King (Sing Lullaby)"}
\version "2.14.2"
\paper {
  top-system-spacing #'basic-distance = #10
  score-system-spacing #'basic-distance = #20
  system-system-spacing #'basic-distance = #20
  last-bottom-spacing #'basic-distance = #10
}

global = {
  \key f \major
  \time 6/8
  \partial 4.
  \tempo 8 = 115
}

sopMusic = \relative e' {
  f8 g8 e8 
  | f4. 
  \bar "||" g8 a8 bes8 
  | c4 d8 c4 bes8
  | a8( g8) a8
  \bar "||" f8 g8 e8 f4. \bar "||"
  \break bes8 a8 bes8
  | g4 c8 b8( c8) d8
  | c4.
  \bar "||" c8 d8 e8 f4 c8 d4 bes8 c4 a8 \bar "||"
  \break c8 bes8 a8 | g4 a8 f8( g8) a8 | g4. c,4. \bar "||" |
  f4.( f8) g8 e8 | f4. \bar "||"
  
}

verseOne = {
  \set stanza = \markup { \dynamic "mp" "1. " }
  \lyricmode {
    Sing8 lull-8 a-8 by!4. 
    lull-8 a-8 by8 ba-4 by,8 now4 re-8 cli-4 ning:8 
    sing8 lull-8 a-8 by!4.
    Hush,8 do8 not8 wake4 the8 in-4 fant8 king;4.
    an-8 gels8 are8 watch-4 ing,8 stars4 are8 shi-4 ning8
    o-8 ver8 the8 place4 where8 he4 is8 ly-4. ing:4.
    sing2 lull-8 a-8 by.4.
  }
}

verseTwo = \lyricmode {
  \set stanza = #"2. "
  Sing8 lull-8 a-8 by!4. 
  lull-8 a-8 by8 ba-4 by,8 sweet-4 ly-8 sleep-4 ing:8 
  sing8 lull-8 a-8 by!4.
  Hush,8 do8 not8 wake4 the8 in-4 fant8 king;4.
  \markup {\dynamic "p" soon will come } sor-4 row8 with4 the8 mor-4 ning8
  soon8 will8 come8 bit-4 ter8 grief4 and8 weep-4. ing:4.
  sing2 lull-8 a-8 by.4.
}

verseThree = {
  \set stanza = \markup { \dynamic "mp" "3. " }
  \lyricmode {  
    Sing8 lull-8 a-8 by!4. 
    lull-8 a-8 by8 ba-4 by,8 gent-4 ly8 do-4 zing:8 
    sing8 lull-8 a-8 by!4.
    Hush,8 do8 not8 wake4 the8 in-4 fant8 king;4.
    \markup { \dynamic "p" soon comes the } cross,4 the8 nails,4 the8 pie-4 rcing8
    then8 in8 the8 grave4 at8 last4 re-8 po-4. sing:4.
    sing2 lull-8 a-8 by.4.
  }
}

verseFour = {
  \set stanza = \markup { \dynamic "mp" "4. " }
  \lyricmode {
    Sing8 lull-8 a-8 by!4. 
    lull-8 a-8 by!8 Is4 the8 ba-4 by8 wa-4 king:8 
    sing8 lull-8 a-8 by!4.
    Hush,8 do8 not8 stir4 the8 in-4 fant8 king;4.
    \markup { \dynamic "mf" drea- ming of } Ea-4 ster,8 in4 the8 mo-4 rning8
    con-8 quer-8 ing8 death,4 its8 bond-4 age8 brea-4. king:4.
    sing2 lull-8 a-8 by.4.
  }
}

altoMusic = \relative b {
  c8 d8 bes8 | c4. c8 f8 f8 | e4 f8 f4 f16( g16) | f8( e8) e8 d8 d8 c8 | c4.
  f8 e8 f8 | e4 g8 g4 g8 | e4. f8 f8 g8 | f4 f8 f4 g8 | e4 f8
  g8 g8 f8 | e4 e8 d4 e8 | d4. g,4.     | r4. c8 d8 c8 | c4.
}

tenorMusic = \relative c' {
  a8 bes8 g8 | a4. c8 c8 f,8 | g4 bes8 c4 d16( c16) | c4 c8 a8 bes8 g8 | a4.
  bes8 c8 d8 | c4 c8 d8( c8) b8 | c4. c8 bes8 bes8 | c4 c8 bes4 d8 | c4 c8
  c8 c8 c8 | c4 a8 a4 a8 | bes4. e,4. | r4. c'8 bes8 g8 | a4.
}

bassMusic = \relative c {
  f8 f8 f8 | f4. e8 f8 d8 | c4 bes8 a4 d16( e16) | f8( c8) a8 d8 bes8 c8 | f4.
  d8 c8 bes8 | c4 e8 d4 g8 | c,8( c'8 bes8) a8 bes8 g8 | a4 a8 bes4 g8 | a4 f8
  d8 d8 e8 | c4 c8 d4 c8 | bes4. c4. | r4. a8 bes8 c8 | c4.
}

\score {
  \new ChoirStaff <<
    \new Staff = "women" <<
      \new Voice = "sopranos" {
        \voiceOne
        << \global \sopMusic >>
      }
      \new Voice = "altos" {
        \voiceTwo
        << \global \altoMusic >>
      }
    >>
    \new Lyrics \verseOne
    \new Lyrics \verseTwo
    \new Lyrics \verseThree
    \new Lyrics \verseFour
    \new Staff = "men" <<
      \clef bass
      \new Voice = "tenors" {
        \voiceOne
        << \global \tenorMusic >>
      }
      \new Voice = "basses" {
        \voiceTwo << \global \bassMusic >>
      }
    >>
  >>
}

\score {
  \unfoldRepeats \articulate \new ChoirStaff <<
    \new Staff = "women" <<
      \new Voice = "sopranos" {
        \voiceOne
        << \global \sopMusic >>
      }
      \new Voice = "altos" {
        \voiceTwo
        << \global \altoMusic >>
      }
    >>
    \new Lyrics \verseOne
    \new Lyrics \verseTwo
    \new Lyrics \verseThree
    \new Lyrics \verseFour
    \new Staff = "men" <<
      \clef bass
      \new Voice = "tenors" {
        \voiceOne
        << \global \tenorMusic >>
      }
      \new Voice = "basses" {
        \voiceTwo << \global \bassMusic >>
      }
    >>
  >>
  \midi {
    \context {
      \Staff
      \remove "Staff_performer"
    }
    \context {
      \Voice
      \consists "Staff_performer"
    }
  }
}
[End full script]

Cheers,


Michael van der Kolff

reply via email to

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