The English Hymnal - Wiki Music Experiment/Hymns101-150/229

From DPWiki
Jump to navigation Jump to search

Lily1 Code

Edit this section and paste your code between the tags <code><pre> and </pre></code>.

To upload a midi, go here: file-repository. You need a userid and password (see this project's main wiki page).

Then create a link in this section to that uploaded midi file.


Lyrics copied from P3 and perl-formatted --QMacrocarpa 09:20, 28 June 2007 (PDT):

"LORD, in thy name thy servants, plead,"
"    And thou hast sworn to hear;"
"Thine is the harvest, thine the seed,"
"    The fresh and fading year."
""
"Our hope, when autumn winds blew wild,"
"    We trusted, Lord, with thee;"
"And still, now spring has on us smiled,"
"    We wait on thy decree."
""
"The former and the latter rain."
"    The summer sun and air,"
"The green ear, and the golden grain,"
"    All thine, are ours by prayer."
""
"Thine too by right, and ours by grace,"
"    The wondrous growth unseen."
"The hopes that soothe, the fears that brace,"
"    The love that shines serene."
""
"So grant the precious things brought forth"
"    By sun and moon below,"
"That thee in thy new heaven and earth"
"    We never may forgo."
""

Lily2 Code

Edit this section and paste your code between the tags <code><pre> and </pre></code>.

%%% 229.png
%%% Hymn 140 Alternative Version Lord, in thy name thy servants plead
%%% Version 3

\version "2.10"

%%%%%%%%%%%%%%%%%%%%%%%%%%% Macros

%%% macro to cope with a partial measure in the middle of a piece.
%%% Manual does not recommend using \partial in the middle of a piece.
%%% In this case, the macro specifies that 0 of 1/2 notes in a 4/2 measure have past,
%%% hence we are restarting at the beginning of a measure, and the previous partial measure is 
%%% considered complete
startmeasure =  \set Score.measurePosition = #(ly:make-moment 0 2)

%%% Used to pull an upstem note left. Used when a slurred note pair straddles a longer note below and when notecolumn force-hshift does not work 
topstraddle = { \once \override Score.SeparationItem #'padding = #2
              \once \override NoteHead #'X-offset = #-1.5 
              \once \override Stem #'X-offset = #-0.2 }	      

%%%pull a rest leftwards slightly leaving the rest of the notecolumn alone	      
restleft =  { \once \override Score.SeparationItem #'padding = #2
              \once \override Rest #'X-offset = #-1.2
            }

%%%%%%%%%%%%%%%%%%%%%%%%%%% End of macro definitions	

\header {
  dedication = \markup { \center-align { "THE CHRISTIAN YEAR - ROGATION DAYS"
                         \hspace #0.1 }}	
  
  title = \markup { "140 " \large \smallCaps "(Alternative Version)" }
  
  meter = \markup { \small {\column {  \line { "(" \sans {"LINCOLN."} \hspace #1 \roman {"(C. M.)" ")*" }}
                                       \line { "(" \italic {Moderately slow} \general-align #Y #DOWN \note #"2" #0.5 = 66. ")"}
                                  }
                  }}
 
  arranger =  \markup { \small {\center-align {
                            \line { \italic "Harmonised by" \smallCaps "W. Harrison" \italic "in" }
                            \line { \italic "Ravenscroft's Psalter." }
                } } }
   
  tagline =""
}


global = {
  \time 4/2 	
  \key  g\major	
  \set Staff.midiInstrument = "church organ" 
}


people = \relative c' { 

  g'1 a2 \stemUp b | \stemNeutral a g g fis | g1 \bar "||" g | d'2 c c b | c1^\fermata \bar "||" \break
  \startmeasure c1 b2 a | gis a \stemUp b b | a1 \bar "||" g | e2 g g fis | g1^\fermata \bar "||"

}


soprano = \relative c' {
  b'1 a2 g | fis g e d | d1 \bar "||" \topstraddle d2( g) | g2 g a g | g1  ^\fermata \bar "||" \break
  g1 g2 e | e a a gis | a1 \bar "||" g | g2. b4 a2 a2 | b1^\fermata \bar "||"
}

alto = \relative c' { 
  d1 d2 d | d b c a | b1 \bar "||" b1 | b2 e d d |  e1 \bar "||"
  e1 d2 c | b e d b | cis1 \bar "||" \restleft c2\rest c2 | c d e d | d1 \bar "||"}

tenor = \relative c { 
  g'1 a2 b | a g g fis | g1 \bar "||" g1 | d'2 c c b |  c1 \bar "||"
  c1 b2 a | gis a b b | a1 \bar "||" g | e2 g g fis | g1 \bar "||"}

bass = \relative c { \clef bass 
  \restleft d2\rest g2 fis g | d e c d | g,1 \bar "||" g1 | g'2 e f g |  c,1_\fermata \bar "||" 
  c1 g2 a | e' c d e | a,1 \bar "||" c1 | c2 b c d | g,1_\fermata \bar "||"
}

#(ly:set-option 'point-and-click #f)

\paper {
  #(set-paper-size "a4")
%  annotate-spacing = ##t
  print-page-number = ##f
  ragged-last-bottom = ##t
  ragged-bottom = ##f
}

\book{

\score{
\new ChoirStaff	
<<   
    <<
        \context Staff = people { \set Staff.instrumentName = \markup { \hcenter-in #16 {\center-align { \smallCaps "People's"  \smallCaps "Part." } } }
	                   \global \people } 

	\new PianoStaff  
	                  <<  
	    \set PianoStaff.instrumentName = \markup { \hcenter-in #14 {\center-align { \smallCaps "Choir"  \smallCaps "or" \smallCaps "Organ."  } } } 
	     \context Staff =  upper  
	                     << 
			     \context Voice = "sopranos" {  
			           \voiceOne \global \soprano }
	                      \context Voice = "altos"   { 
	                           \voiceTwo \global \alto }
	                      >>
	     \context Staff = lower <<
	     \context Voice = "tenors" { 
	                           \voiceOne \global \tenor }
	     \context Voice = "basses" { 
	                           \voiceTwo \global \bass }
			            >> 
		              >>	      
    >>
>> 
\layout {       
	        indent = 2.5\cm
		\context { \Score \remove "Bar_number_engraver" }		        
		\context { \PianoStaff \remove "Span_bar_engraver" }
		\context { \Staff \remove "Time_signature_engraver" }
		\context { \Score \remove "Mark_engraver"  }
                \context { \Staff \consists "Mark_engraver"  }
		
		%%%Lilypond tended to put the staffs too close together. This next setting spreads it a little to match the image
		\context { \Staff \override VerticalAxisGroup #'minimum-Y-extent = #'(-6 . 6) }
	}
	
\midi {  \context { \Score  tempoWholesPerMinute = #(ly:make-moment 66 2) } }
	
}

\markup{ \hspace #52 \center-align { \line { "[" \hspace #-1 \italic "This version may be used in connexion with the other for one or more verses, the people"} 
                                    \line { \italic "singing the melody as usual." \hspace#-1 "]" } }}

\markup { "         "       }
				    
\markup { \small { \hspace #72 \italic "J. Keble, 1792-1866." } }
 
%%% Main lyric block

\markup { \hspace #30 %%add space as necc. to center the column
          \column { %%% one super column for the entire block of lyrics
	                 \column { %%verse 1 is a column of 2 lines  
	                  \line { \hspace #2.2 \column { \lower #2.4 \fontsize #8 "L" }   %%Drop Cap goes here
				  \hspace #-1.0    %% adjust this if other letters are too far from Drop Cap
				  \column  { \raise #0.0 "ORD, in thy name thy servants, plead,"
			                                "  And thou hast sworn to hear;" } }  
	                  \line {  \hspace #2.5  %%adjust hspace until this line left edge is flush with Drop Cap
				   \lower  #1.56  %%adjust this until the line spacing looks right
				   \column {   
					   "Thine is the harvest, thine the seed,"
					   "    The fresh and fading year."
					   "      " %%% add vertical spacing between verses
			  		}} 
			         } %%% finish verse 1	
           		\line { "2  "
			   \column {	     
				   "Our hope, when autumn winds blew wild,"
				   "    We trusted, Lord, with thee;"
				   "And still, now spring has on us smiled,"
				   "    We wait on thy decree."
			}}

    }	%%% end super column  
}

%%% fake score block to occupy space and force a pagebreak.  Can't think of a better way of doing this.
\score{
	{s4 }
\header { breakbefore = ##f piece = ##f opus = ##f tagline = ##f }
\layout{	
	\context { \Staff
		\remove Time_signature_engraver
		\remove Key_engraver
		\remove Clef_engraver
		\remove Staff_symbol_engraver
}}}

%%% second page
%%% continuation of  lyrics

\markup { \hspace #30   %%add space as necc. to center the column
          \column { 
			\hspace #1 
           		\line { "3  "
			   \column {	     
				   "The former and the latter rain,"
				   "    The summer sun and air,"
				   "The green ear, and the golden grain,"
				   "    All thine, are ours by prayer."
				   "      " %%% add vertical spacing between verses
			}}	 
           		\line { "4  "
			   \column {	     
				   "Thine too by right, and ours by grace,"
				   "    The wondrous growth unseen,"
				   "The hopes that soothe, the fears that brace,"
				   "    The love that shines serene."
				   "      " %%% add vertical spacing between verses
			}}
           		\line { "5.  "
			   \column {	     
				   "So grant the precious things brought forth"
				   "    By sun and moon below,"
				   "That thee in thy new heaven and earth"
				   "    We never may forgo."
			}} 

	  }
} %%% lyric markup bracket
	
%%% Amen score block
\score{
  \new ChoirStaff
   <<
        \context Staff = upper \with { fontSize = #-3  \override StaffSymbol #'staff-space = #(magstep -2) }  
	                      << 
	\context Voice = "sopranos" { \relative c' { \clef treble \global \voiceOne g'1 g \bar "||" }}
	\context Voice = "altos"    { \relative c' { \clef treble \global \voiceTwo c1 b \bar "||" }}
	                      >>
			  
	\context Lyrics \lyricsto "altos" {\override LyricText #'font-size = #-1  A -- men. }
	
	\context Staff = lower \with { fontSize = #-3  \override StaffSymbol #'staff-space = #(magstep -2) }  
	                       << 
	\context Voice = "tenors" { \relative c { \clef bass \global \voiceThree e1 d \bar "||" }}
	\context Voice = "basses" { \relative c { \clef bass \global \voiceFour  c1 g \bar "||" }}
			        >> 
  >>			      
\header { breakbefore = ##f piece = " " opus = " " }

\layout { 
      \context { \Score timing = ##f }
	ragged-right = ##t
	indent = 15\cm
	\context { \Staff \remove Time_signature_engraver }

       } %% close layout

%%% Amen Midi

\midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 66 2) }} 

} %%% end Amen score block
	
%%% alternative hymns also suitable

\markup {\hspace #36 \column {
	\line{ \hspace #2 \italic "The following are also suitable:"}
	\hspace #0.1 
	\small {
		"  75  Jesu, Lord of life and glory."
		"384  Eternal Ruler of the ceaseless round."
		"423  Judge eternal, throned in splendour."
		"447  O God of Bethel, by whose hand."
		"475  Rejoice, O land, in God thy might."
		"492  The Lord will come and not be slow."
		"558  God of our fathers."
		"650  Litany for Rogationtide."
		"651  Litany of the Church." 
	
	}
}} 


%%% This is a transcriber's footnote


\markup { \column { "                "
	            "Transcriber's Note"
		    "                "   
	            "* Note the tune name and tempo were not" 
		    "in the original image of this hymn.  They"  
	            "were in the score of hymn 140 proper."  
	            "Since this is an alternative to Hymn 140"
		    "and the melody is the same, the tune name"
		    "and tempo from Hymn 140 have been added"
		    "to make this piece complete in and of itself."
}}


} %%book bracket

Lily3 Notes

Copy the Lilypond source to your computer and compile it to create MIDIs and a PDF to check. Leave notes here, or edit the code in Lily2 and leave notes describing the changes. After errors are corrected, the piece is declared "Cleared" and uploaded to the repository.

If you can't compile Lilypond, use the links here:

Original scan: 229.png

Links to L2 output version 1:

L2-140alt-v1.pdf L2-140alt-v1.midi L2-140alt-v1-amen.midi


Links to L2 output version 2:

L2-140alt-v2.pdf L2-140alt-v2.midi L2-140alt-v2-amen.midi

Links to L2 output version 3:

L2-140alt-v3.pdf L2-140alt-v3.midi L2-140alt-v3-amen.midi


Notes by L2 Jkenny 21:13, 29 July 2007 (PDT)

  • Same issue with Verse 3 line 1 and verse 4 line 2 ending punctuation. See previous piece.
  • Since this is an alternative tune to the previous piece, and the people's part melody is the same as the soprano in the previous piece, I have assumed the tune name is still Lincoln, so I have used the same Tune Name and Meter blocks here.
  • For the same reason, I have also included the Amen block from the previous piece.


Notes by L3 KenJ 11:32, 23 August 2007 (PDT)

  • Agree with commas.
  • Re using tune name, meter, tempo - that makes sense to me.
  • Tune title, meter, and tempo: You might consider putting them within brackets with a Transcriber's Note indicating they were not in the original (for historical accuracy). Leave PPer note.
  • System 1, soprano, note 1: change from g to b.


Notes by Jkenny 18:53, 23 August 2007 (PDT)

  • Placed tune name, tempo in brackets, added transcriber's note in the code.
  • Changed soprano note 1 g -> b.
  • v2 up.


Note by L3 KenJ 21:34, 23 August 2007 (PDT)

  • What do you think about making a practice of making a clear separation between score block and lyrics block? It is difficult to see a clear division here.


Notes by Jkenny 21:52, 23 August 2007 (PDT)

  • Code-wise, the score and lyrics are separate blocks. The problem is that Lilypond makes its own decisions (at times inconsistent) about how much spacing to put between the score (also the systems within the score) and the lyrics. Sometimes there is adequate spacing between score and lyrics and sometimes there isn't.
  • I suggest we play by ear. If there is enough space, we don't force more space in, and if there is not enough, like this case, we force more space in between.
  • I can't make the hymn note go closer to the score (where it belongs) so I have inserted a blank line between the hymn note and the lyrics block to separate them. See how it looks.
  • In general, besides fixing obvious issues like this, I would advise against tweaking how the stuff looks on paper too much as everything may change again when the PPer handles it - he might decide to change the page margins or use a different paper size and then everything will change. A different header/footer margin will affect spacing between entities on the page, for example. In general I have left everything, paper size, margins, headers etc at default settings.
  • V3 up.


Comment by KenJ 23:01, 23 August 2007 (PDT)

  • OK. Thanks for all the info.
  • I was unable to find V3.
  • Don't you usually put the authors name closer to the lyrics?


Notes by Jkenny 00:13, 24 August 2007 (PDT)

  • Sorry about that. I just added the links to V3.
  • My normal way of doing it is to do a markup entity for the author's name, and then another markup entity for the lyric text. So Lilypond will automatically insert some space in between the author's name and the lyrics.
  • I have just taken a look at some older pieces selected randomly. I have not been deliberately placing author's name closer to the lyrics by putting in blank lines etc but I notice that Lilypond does indeed (sometimes) place the author's name closer to the lyrics, with a wider gap from the score (that's what we want). Sometimes it doesn't. So when it doesn't, from now on we'll force a wider gap by inserting a blank line.


Note by KenJ 00:38, 24 August 2007 (PDT)

  • Clear.


V2 uploaded to repository. Jkenny 18:25, 24 August 2007 (PDT)


Project History

    • Lily1 - (lyrics added)
    • Lily2 - done. Jkenny 21:13, 29 July 2007 (PDT)
    • Lily3 - notes by KenJ 11:35, 23 August 2007 (PDT)
- fixed. Jkenny 18:56, 23 August 2007 (PDT)
- note by KenJ 21:35, 23 August 2007 (PDT)
- fixed. Links for v3 put in now. Jkenny 00:16, 24 August 2007 (PDT) Ready for Lily3 clearance - compiled and linked
- clear. KenJ 00:39, 24 August 2007 (PDT)
- L3 cleared and uploaded. Jkenny 18:26, 24 August 2007 (PDT)

Notes for PPer

  • Inserted tune name and tempo (in brackets) from Hymn 140 proper to make this piece complete as a stand-alone piece. Left a transcriber's note in the Lilypond code.