Jump to content

Anglican psalm template: Difference between revisions

From LilyPond wiki
No edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
This template shows one way of setting out an Anglican psalm chant. It also shows how the verses may be added as stand-alone text under the music. The two verses are coded in different styles to demonstrate more possibilities.
This template shows one way of setting out an Anglican psalm chant. It also shows how the verses may be added as stand-alone text under the music. The two verses are coded in different styles to demonstrate more possibilities.


<lilypond version="2.24" full>
<lilypond version="2.24">
\paper { tagline = ##f }
 
SopranoMusic = \relative g' {
SopranoMusic = \relative g' {
   g1 | c2 b | a1 | \bar "||"
   g1 | c2 b | a1 | \bar "||"
Line 37: Line 35:


% Use markup to center the chant on the page
% Use markup to center the chant on the page
\markup {
\markup \fill-line {
  \fill-line {  
  \score { % centered
    \score { % centered
    \new ChoirStaff <<
      <<
      \new Staff <<
        \new ChoirStaff <<
        \global
          \new Staff <<
        \clef "treble"
            \global
        \new Voice = "Soprano" <<
            \clef "treble"
          \voiceOne
            \new Voice = "Soprano" <<
          \SopranoMusic
              \voiceOne
        >>
              \SopranoMusic
        \new Voice = "Alto" <<
            >>
          \voiceTwo
            \new Voice = "Alto" <<
          \AltoMusic
              \voiceTwo
        >>
              \AltoMusic
      >>
            >>
 
          >>
      \new Staff <<
          \new Staff <<
        \clef "bass"
            \clef "bass"
        \global
            \global
        \new Voice = "Tenor" <<
            \new Voice = "Tenor" <<
          \voiceOne
              \voiceOne
          \TenorMusic
              \TenorMusic
        >>
            >>
        \new Voice = "Bass" <<
            \new Voice = "Bass" <<
          \voiceTwo
              \voiceTwo
          \BassMusic
              \BassMusic
            >>
          >>
         >>
         >>
       >>
       >>
      \layout {
    >>
        \context {
 
          \Score
    \layout {
          \override SpacingSpanner.base-shortest-duration =
      \context {
                      #(ly:make-moment 1/2)
        \Score
        }
        \override SpacingSpanner.base-shortest-duration =
        \context {
                    #(ly:make-moment 1/2)
          \Staff
      }
          \remove "Time_signature_engraver"
      \context {
        }
        \Staff
        \remove "Time_signature_engraver"
       }
       }
     }  % End score
     }
  }
  }  % End score
}  % End markup
}  % End markup


\markup {
\markup \fill-line {
  \fill-line {
  \left-column {
    \column {
    \null \null \null
      \left-align {
    \line { \fontsize #5 O
        \null \null \null
            \fontsize #3 come
        \line {
            let us \bold sing | unto \dot the | Lord : let }
          \fontsize #5 O
    \line { us heartily \concat { re \bold joice }
          \fontsize #3 come
            in the | strength of | our }
          let us \bold sing | unto \dot the | Lord : let
    \line { sal | vation. }
        }
 
        \line {
    \null
          us heartily
 
          \concat { re \bold joice }
    \line { \hspace #2.5 8. Today if ye will hear his voice * }
          in the | strength of | our
    \line { \concat { \bold hard en }
        }
            \tick not your \tick hearts : as in the pro- }
        \line {
    \line { vocation * and as in the \bold day of tempt- \tick }
          sal | vation.
    \line { -ation \tick in the \tick wilderness. }
        }
        \null
        \line {
          \hspace #2.5 8. Today if ye will hear his voice *
        }
        \line {
          \concat { \bold hard en }
          \tick not your \tick hearts : as in the pro-
        }
        \line {
          vocation * and as in the \bold day of tempt- \tick
        }
        \line {
          -ation \tick in the \tick wilderness.
        }
      }
    }
   }
   }
}
}
</lilypond>
</lilypond>


[[Category:Template]]
[[Category:Vocal music]]
[[Category:Vocal music]]
[[Category:Template]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]][[Category:Snippet]]
[[Category:Snippet]]

Latest revision as of 05:03, 13 December 2025

This template shows one way of setting out an Anglican psalm chant. It also shows how the verses may be added as stand-alone text under the music. The two verses are coded in different styles to demonstrate more possibilities.

\version "2.24"

SopranoMusic = \relative g' {
  g1 | c2 b | a1 | \bar "||"
  a1 | d2 c | c b | c1 | \bar "||"
}

AltoMusic = \relative c' {
  e1 | g2 g | f1 |
  f1 | f2 e | d d | e1 |
}

TenorMusic = \relative a {
  c1 | c2 c | c1 |
  d1 | g,2 g | g g | g1 |
}

BassMusic =  \relative c {
  c1 | e2 e | f1 |
  d1 | b2 c | g' g | c,1 |
}

global = {
  \time 2/2
}

dot = \markup {
  \raise #0.7 \musicglyph "dots.dot"
}

tick = \markup {
  \raise #1 \fontsize #-5 \musicglyph "scripts.rvarcomma"
}

% Use markup to center the chant on the page
\markup \fill-line {
  \score { % centered
    \new ChoirStaff <<
      \new Staff <<
        \global
        \clef "treble"
        \new Voice = "Soprano" <<
          \voiceOne
          \SopranoMusic
        >>
        \new Voice = "Alto" <<
          \voiceTwo
          \AltoMusic
        >>
      >>

      \new Staff <<
        \clef "bass"
        \global
        \new Voice = "Tenor" <<
          \voiceOne
          \TenorMusic
        >>
        \new Voice = "Bass" <<
          \voiceTwo
          \BassMusic
        >>
      >>
    >>

    \layout {
      \context {
        \Score
        \override SpacingSpanner.base-shortest-duration =
                    #(ly:make-moment 1/2)
      }
      \context {
        \Staff
        \remove "Time_signature_engraver"
      }
    }
  }  % End score
}  % End markup

\markup \fill-line {
  \left-column {
    \null \null \null
    \line { \fontsize #5 O
            \fontsize #3 come
            let us \bold sing | unto \dot the | Lord : let }
    \line { us heartily \concat { re \bold joice }
            in the | strength of | our }
    \line { sal | vation. }

    \null

    \line { \hspace #2.5 8. Today if ye will hear his voice * }
    \line { \concat { \bold hard en }
            \tick not your \tick hearts : as in the pro- }
    \line { vocation * and as in the \bold day of tempt- \tick }
    \line { -ation \tick in the \tick wilderness. }
  }
}