The English Hymnal - Wiki Music Experiment/307

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 to the 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 14:16, 15 August 2007 (PDT):

"    O SHEPHERD of the sheep,"
"    High Priest of things to come,"
"Who didst in grace thy servant keep,"
"    And take him safely home:"
""
"    Accept our song of praise"
"    For all his holy care,"
"His zeal unquenched through length of days,"
"    The trials that he bare."
""
"    Chief of thy faithful band,"
"    He held himself the least,"
"Though thy dread keys were in his hand,"
"    O everlasting Priest."
""
"    So, trusting in thy might,"
"    He won a fair renown;"
"So, waxing valiant in the fight,"
"    He trod the lion down;"
""
"    Then rendered up to thee"
"    The charge thy love had given,"
"And passed away thy face to see"
"    Revealed in highest heaven."
""
"    On all our bishops pour"
"    The Spirit of thy grace;"
"That, as he won the palm of yore,"
"    So they may run their race;"
""
"    That when this life is done,"
"    They may with him adore"
"The ever-blessèd Three in One,"
"    In bliss for evermore."
""


Lily2 Code

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

%%%% 307.png
%%%% Hymn 190. Carlisle. O shepherd of the sheep
%%%% Rev 1.

\version "2.10"

\header {
  dedication = \markup {  \center-align { "SAINTS' DAYS: GENERAL - CONFESSORS"
	\hspace #0.1 }}	
	
  title = "190"   
  
  poet = \markup { \small {  \line { \sans { "CARLISLE."} \hspace #1 \roman {"(S. M.)"}} }}
  
  meter = \markup { \small { \italic {Moderately slow, dignified} \general-align #Y #DOWN \note #"2" #0.5 = 60.} }
  
  arranger = \markup { \small \smallCaps "C. Lockhart, 1745-1815." }
  
  tagline = ""
}


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

%%% merge. Macro to pull note slightly leftwards.  Used to produce those partially merged wholenotes 

merge = \once \override NoteColumn #'force-hshift = #-0.01

%%% Used to pull a note left. Used when a slurred note pair straddles a longer note above when notecolumn force-hshift does not work 		 

straddle =  { \once \override Score.SeparationItem #'padding = #2
              \once \override NoteHead #'X-offset = #-2.6
              \once \override Stem #'X-offset = #-2.6 }

%%%%%%%%%%%%%%%%%End of Macro definitions

%%% SATB voices

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

soprano = \relative c' { 
  \partial 2 ees2 | bes' ees, g4( f) ees( d) | ees1. \bar "||" ees2 | aes2 bes4( c) bes2 ees,4( aes) | g2( f1) \bar "||" \break
  f2 | g f4( ees) aes2 g4( f) | bes2 aes4( g) c2 ^\fermata \bar "||" d | ees ees,4( aes) g2 f | ees1. \bar "||"
} 
   
alto = \relative c' {  
  bes2 | bes c c bes | bes1. \bar "||" bes2 | ees ees ees c4( f) | ees2( d1) \bar "||"
  d2 | ees d4( ees) f2 ees4( d) | ees2 ees ees \bar "||" f | ees ees4( f) ees2 d | \merge ees1. \bar "||"
}

tenor = \relative c {\clef bass 
  g'2 | f g aes g4( f) | g1. \bar "||" g2 | aes g4( aes) bes2 c | bes1. \bar "||"
  bes2 | bes bes c bes | bes ees4( des) c2 \bar "||" aes | bes c bes2. aes4 | g1. \bar "||"
}

bass = \relative c {\clef bass 
      \override Staff.NoteCollision
      #'merge-differently-dotted = ##t
  ees2 | d c aes bes | ees1. \bar "||" ees4( d) | c2 bes4( aes) g2 aes | bes1. \bar "||"
  bes2 | ees \straddle aes4( g) f2 \straddle bes4( aes) | g2 c4( bes) aes2 _\fermata \bar "||" f | g aes4( f) bes2 bes, | ees1. \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 = ##t
}

\book{

%%% Score block	

\score{
\new ChoirStaff	
<<
	\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=0
		\context { \Score \remove "Bar_number_engraver" }
		\context { \Staff \remove "Time_signature_engraver" }
		\context { \Score \remove "Mark_engraver"  }
                \context { \Staff \consists "Mark_engraver"  }
	} %% close layout

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

%%% Lyric titles and attributions

\markup { \hspace #8 \small {  \column { \line { \italic "For a Bishop." \hspace #70 \italic "V. S. S. C." } 
	\line { "            " }
}}}


%%% Main lyric block
%%% To fit on one page, lyrics are in 3 columns: column 1 (verses ), column 2 (a dividing line), column 3 (verses); centred last (seventh) verse.

\markup { \hspace #6  %%add space as necc. to center the entire block of lyrics
          \column { %%% super column for entire block of lyrics
	    \line { %% a master line of 3 columns, two for lyrics and one column of a separator line
		\column { %% column 1
	                 \column { %%verse 1 is a column of 2 lines  
	                  \line { \hspace #5.0 \column { \lower #2.4 \fontsize #8 "O" }   %%Drop Cap goes here
				  \hspace #-1.0    %% adjust this if other letters are too far from Drop Cap
				  \column  { \raise #0.0 " SHEPHERD of the sheep,"
			                                 "  High Priest of things to come," } }     
	                  \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 {   
					   "Who didst in grace thy servant keep,"
					   "    And take him safely home:"
					   "                  " %%% blank space before next verse
			  		}} 
			         } %%% finish verse 1 
           		\line { "2  "
			   \column {	     
				  "    Accept our song of praise"
				  "    For all his holy care,"
				  "His zeal unquenched through length of days,"
				  "    The trials that he bare."
				  "                  " %%% blank space before next verse
			}}
           		\line { "3  "
			   \column {	     
				   "    Chief of thy faithful band,"
				   "    He held himself the least,"
				   "Though thy dread keys were in his hand,"
				   "    O everlasting Priest."
                                   "                  " %%% blank space before next verse
			}}
		}  %% finish Page column 1
		
	\hspace #2 %%adds horizontal space columns 1 and 2   
			   
	\column { \filled-box #'(0.0 . 0.1) #'( -36 . 1) #0 }   %%% Column 2. This is the line dviding the columns 1 and 3. 
			   	   
	\hspace #2 %%adds horizontal space between columns 2 and 3	
	
	\column { %%start page column 3		
			\line {"4  "
			   \column {	     
				   "    So, trusting in thy might,"
				   "    He won a fair renown;"
				   "So, waxing valiant in the fight,"
				   "    He trod the lion down;"
                                   "                  " %%% blank space before next verse
			}} 
			\line {"5  "
			    \column {
				    "    Then rendered up to thee"
				    "    The charge thy love had given,"
				    "And passed away thy face to see"
				    "    Revealed in highest heaven."
				    "                  " %%% blank space before next verse
			}}
			\line { "6  "
			     \column {	     
				     "    On all our bishops pour"
				     "    The Spirit of thy grace;"
				     "That, as he won the palm of yore,"
				     "    So they may run their race;"
                                     "                  " %%% blank space before next verse
     			}}
	    } %%% end column 3
     } %%% end master-line
     			\line { \hspace #34 "7. "
			     \column {	     
				     "    That when this life is done,"
				     "    They may with him adore"
				     "The ever-blessèd Three in One,"
				     "    In bliss for evermore."				                                   
     			}}
   } %%% super column bracket
} %%% lyrics 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 ees1 ees1 \bar "||" }}
	\context Voice = "altos"    { \relative c' {  \clef treble \global \voiceTwo c1 bes1 \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 aes'1 g1 \bar "||" }}
	\context Voice = "basses" { \relative c { \clef bass \global \voiceFour  aes1 ees'1 \bar "||" }}
			        >> 
  >>			      
\header { breakbefore = ##f piece = " " opus = " " }
\layout { 
	\context { \Score timing = ##f }
	ragged-right = ##t
	indent = 15\cm
	\context { \Staff \remove Time_signature_engraver }

       }

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


} %%% 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: 307.png

Links to L2 output version 1:

L2-190-v1.pdf L2-190-v1.midi L2-190-v1-amen.midi


Notes by L2 Jkenny 20:56, 14 September 2007 (PDT)

  • At last, a piece which can fit into one page by setting lyrics in 2 columns.