﻿% “ = U+201C (left formatted quote)
% ” = U+201D (right formatted quote)
% — = U+2014 (em dash)
% – = U+2013 (en dash)
% © = U+00A9 (copyright symbol)
% ® = U+00AE (registered copyright symbol)
% ℗ = U+2117 (published; phonorecord sign)

\version "2.12.2"
#(ly:set-option 'point-and-click #f)

\paper
{
    indent = 0.0
    line-width = 185 \mm
    %between-system-space = 0.1 \mm
    %between-system-padding = #1
    %ragged-bottom = ##t
    %top-margin = 0.1 \mm
    %bottom-margin = 0.1 \mm
    %foot-separation = 0.1 \mm
    %head-separation = 0.1 \mm
    %before-title-space = 0.1 \mm
    %between-title-space = 0.1 \mm
    %after-title-space = 0.1 \mm
    %paper-height = 32 \cm
    %print-page-number = ##t
    %print-first-page-number = ##t
    %ragged-last-bottom
    %horizontal-shift
    %system-count
    %left-margin
    %paper-width
    %printallheaders
    %systemSeparatorMarkup
}

\header
{
    %dedication = ""
    title = "Redeemer of Israel"
    %subtitle = ""
    %subsubtitle = ""
    % poet = \markup{ \italic Text: }
    % composer = \markup{ \italic Music: }
    %meter = ""
    %opus = ""
    %arranger = ""
    %instrument = ""
    %piece = \markup{\null \null \null \null \null \null \null \null \null \null \null \null \null \italic Slowly \null \null \null \null \null \note #"4" #1.0 = 70-100}
    %breakbefore
    %copyright = ""
    tagline = ""
}


global =
{
    \override Staff.TimeSignature #'style = #'()
    \time 4/4
    \key es \major
    \override Rest #'direction = #'0
    \override MultiMeasureRest #'staff-position = #0
}

sopWords = \lyricmode
{
    \override Score . LyricText #'font-size = #-1
    \override Score . LyricHyphen #'minimum-distance = #1
    \override Score . LyricSpace #'minimum-distance = #0.8
    % \override Score . LyricText #'font-name = #"Gentium"
    % \override Score . LyricText #'self-alignment-X = #-1
    \set stanza = "1. "
    %\set vocalName = "Men/Women/Unison/SATB"
    Re -- deem -- er of Is -- rael,
    Our on -- ly de -- light,
    On whom for a bless -- ing we call,
    Our shad -- ow by day,
    And our pil -- lar by night,
    Our King, our De -- liv -- 'rer, our all!
}
sopWordsTwo = \lyricmode
{
    \set stanza = "2. "
    We know He is com -- ing
    To gath -- er His sheep,
    And lead them to Zi -- on in love;
    For why in the val -- ley
    Of death should they weep,
    Or in the lone wil -- der -- ness rove?
}
sopWordsThree = \lyricmode
{
    \set stanza = "3. "
    How long we have wan -- dered
    As stran -- gers in sin,
    And cried in the des -- ert for Thee!
    Our foes have re -- joiced
    When our sor -- rows they've seen,
    But Is -- rael will short -- ly be free.
}
sopWordsFour = \lyricmode
{
    \set stanza = "4. "
    As chil -- dren of Zi -- on,
    Good ti -- dings for us,
    The tok -- ens al -- read -- y ap -- pear;
    Fear not, and be just,
    For the king -- dom is ours;
    The hour of re -- demp -- tion is near.
}
sopWordsFive = \lyricmode
{
    \set stanza = "5. "
}
sopWordsSix = \lyricmode
{
    \set stanza = "6. "
}
sopWordsSeven = \lyricmode
{
    \set stanza = "7. "
}
altoWords = \lyricmode
{

}
tenorWords = \lyricmode
{

}
bassWords = \lyricmode
{

}

\score
{
    %\transpose es' d'
    <<
	\new Staff
	<<
	    %\set Score.midiInstrument = "Orchestral Strings"
	    %\set Score.midiInstrument = "Choir Aahs"
	    \new Voice = "sopranos"
	    {
		\voiceOne
		\global
		%\override Score.MetronomeMark #'transparent = ##t
		\override Score.MetronomeMark #'stencil = ##f
		
		%\override HorizontalBracket #'direction = #UP
		%\override HorizontalBracket #'bracket-flare = #'(0 . 0)
		%put \startGroup and \stopGroup after notes to create analysis brackets
		
		%\override TextSpanner #'dash-period = #-1
		%\override TextSpanner #'bound-details #'left #'text = \markup{ \concat{\draw-line #'(0 . -1.0) \draw-line #'(1.0 . 0) }}
		%\override TextSpanner #'bound-details #'right #'text = \markup{ \concat{ \draw-line #'(1.0 . 0) \draw-line #'(0 . -1.0) }}
		%put \stopTextSpan \startTextSpan after notes for hymn-style piano introduction brackets; also consider \mark \markup{} for measure markup
		
		\tempo 4 = 120
		\partial 4
		es'4 es' (f') g' aes' bes'2 c''8 (bes') aes'4 g'2 f'4 f' es'2. \bar "" \break bes'4
		es''2 es''4 es'' d'' (bes') c'' c'' bes'2. \bar "" \break bes'4 es''2 es''8 (d'') c''4
		bes'2 g'4 bes' c''2 c''8 (bes') aes' (g') f'2 \bar "" \break es'4 (g') bes'4. (c''8) bes'4 es' g'2 f'4 f' es'2.
		\bar "|."
	    }

	    \new Voice = "altos"
	    {
		\voiceTwo
		es'4 es' (d') es' f' g'2 aes'8 (g') f'4 es'2 d'4 d' es'2. g'4
		g'2 g'4 g' f' (d') es' es' d'2. g'4 g'2 g'4 aes'4
		g'2 es'4 g' aes'2 aes'8 (g') f' (es') d'2 es'2 es'2 es'4 es' es'2 d'4 d' es'2.
	    }

	    \new Lyrics = sopranos { s1 }
	    \new Lyrics = sopranosTwo { s1 }
	    \new Lyrics = sopranosThree { s1 }
	    \new Lyrics = sopranosFour { s1 }
	    %\new Lyrics = sopranosFive { s1 }
	    %\new Lyrics = sopranosSix { s1 }
	    %\new Lyrics = sopranosSeven { s1 }
	    %\new Lyrics = altos { s1 }
	    %\new Lyrics = tenors { s1 }
	    %\new Lyrics = basses { s1 }
	>>


	\new Staff
	<<
	    \clef bass
	    \new Voice = "tenors"
	    {
		\voiceThree
		\global
		g4 g (bes) bes es' es'2 es'4 c' bes2 aes4 aes g2. es'4
		bes2 bes4 bes bes2 a4 a bes2. bes4 bes2 bes4 es'4
		es'2 bes4 es' es'2 es'4 bes bes2 g4 (bes) g4. (aes8) g4 g bes2 aes4 aes g2.
	    }

	    \new Voice = "basses"
	    {
		\voiceFour
		es4 es (bes,) es es es2 aes4 aes bes2 bes,4 bes, es2. es4
		es2 es4 es f2 f4 f bes,2. es4 es2 es4 es
		es2 es4 es aes,2 aes,4 es4 bes,2 es2 es es4 es bes,2 bes,4 bes, es2.
	    }
	>>
	\context Lyrics = sopranos \lyricsto sopranos \sopWords
	\context Lyrics = sopranosTwo \lyricsto sopranos \sopWordsTwo
	\context Lyrics = sopranosThree \lyricsto sopranos \sopWordsThree
	\context Lyrics = sopranosFour \lyricsto sopranos \sopWordsFour
	%\context Lyrics = sopranosFive \lyricsto sopranos \sopWordsFive
	%\context Lyrics = sopranosSix \lyricsto sopranos \sopWordsSix
	%\context Lyrics = sopranosSeven \lyricsto sopranos \sopWordsSeven
	%\context Lyrics = altos \lyricsto altos \altoWords
	%\context Lyrics = tenors \lyricsto tenors \tenorWords
	%\context Lyrics = basses \lyricsto basses \bassWords
    >>
	
    \midi { }
    \layout
    {	
	\context
	{
	    \Lyrics
	    \override VerticalAxisGroup #'minimum-Y-extent = #'(0 . 0)
	}
	\context
	{
	    \Voice
	    \consists "Horizontal_bracket_engraver"
	}
    }
}

\markup
{
    \column
    {
	\line{\italic Text: Adapted from Joseph Swain (1761–1796) by William Wines Phelps (1792–1872), 1835}
	\line{\italic Music: Freeman Lewis (1780–1859)}
	%\line{\italic Arrangement: }
	%\line{\italic {Words and Music:} }
	%\line{\italic {Tune Name:} }
	%\line{\italic {Poetic Meter:} }
	\line{\italic {Source: Relief Society Song Book,} 1919—no. 16}
    }
}