The English Hymnal - Wiki Music Experiment/274

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.

** Note:  z = bar, x = double-bar, q = end of system, n = natural
11 = "soprano =", 22 = "alto =", 33 = "tenor =", 44 = "bass ="
I don't think the g natural is necessary, being in the measure following the explicit sharp, but I suppose it wouldn't hurt to make it match the image.  Do what you think best.
** Note: corrected (Aug. 20, 2007, 1:25 AM PDT) explicit gs to gs2 in sytem 2, tenor.  Also added "n = natural" to legend above.

11,g2,z,g1,b2,z,a,b,f,z,g1,x,a2,z,b1,d2,z,c1,b2,z,a1,x,q,a2,z,a1,b2,z,c1,b2,z,
a1,g2,z,g,f,x,d2,z,g1,b2,z,a,g,f,z,g1,x,q
22,d2,z,e1,g2,z,e,d,d,z,d1,x,d2,z,d1,g2,z,g1,g2,z,f1,x,q,d2,z,e1,d2,z,c1,d2,z,
e1,b2,z,d1,,x,d2,z,d1,g2,z,e,d,d,z,d1,x,q
33,b2,z,b1,d2,z,c,b,a,z,b1,x,f2,z,g1,d2,z,e1,d2,z,d1,x,q,f2,z,a1,gs2,z,a1,gn2,z
,c1,g2,z,a1,,x,f2,z,g1,d2,z,c,b,a,z,b1,x,q
44,g2,z,e1,b2,z,c,d,e,z,g1,x,d2,z,g1,b2,z,c1,g2,z,d1,x,q,d2,z,c1,b2,z,a1,b2,z,
c1,e2,z,d1,,x,d2,z,b1,g2,z,c,d,d,z,g1,x,q

Lyrics copied from P3 and perl-formatted --QMacrocarpa 14:12, 12 August 2007 (PDT):

"    O WORD of God above,"
"    Who fillest all in all,"
"Hallow this house with thy sure love,"
"    And bless our festival."
""
"    Grace in this font is stored"
"    To cleanse each guilty child;"
"The Spirit's blest anointing poured"
"    Brightens the once defiled."
""
"    Here Christ of his own Blood"
"    Himself the chalice gives,"
"And feeds his own with Angels' food,"
"    On which the spirit lives."
""
"    For guilty souls that pine"
"    Sure mercies here abound,"
"And healing grace with oil and wine"
"    For every secret wound."
""
"    God from his throne afar,"
"    Comes in this house to dwell;"
"And prayer, beyond the evening star,"
"    Builds here her citadel."
""
"    All might, all praise be thine,"
"    The God whom all adore;"
"The Father, Son, and Spirit divine,"
"    Both now and evermore. Amen."
""

Lily2 Code

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

%%%% 274.png
%%%% Hymn 171 St. Edmund.  O Word of God above.
%%%% Rev 2.

\version "2.10"

\header {
  dedication = \markup {  \center-align { "THE CHRISTIAN YEAR - DEDICATION FESTIVAL"
	\hspace #0.1 }}	
	
	title = "171"   
  
  meter = \markup { \small { \column {  
	                                \line { \sans {"ST. EDMUND."}  \hspace #1 \roman {"(S. M.)"}}
		                        \line { \italic {Moderately slow} \general-align #Y #DOWN \note #"2" #0.5 = 90.} }
  	}}	
	

 arranger = \markup { \small  { \center-align { \line { \italic "Adapted from Hymn Melody by" }	 				
	  					\line { \smallCaps "E. Gilding," \italic "d." "1782." }
  	}}}
  
  tagline = ""
}

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

%%generates the breathmarks
breathmark = {	
	      \override Score.RehearsalMark #'break-visibility = #begin-of-line-invisible 
	      \override Score.RehearsalMark #'Y-offset = #'4.0 
	      \override Score.RehearsalMark #'X-offset = #'-0.5
	      \mark \markup { \fontsize #4 ","}
}	      

%% 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 }	      
	      

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

%%% SATB voices

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

soprano = \relative c' { 
  \partial 2 g'2 | g1 b2 | a( g) fis | g1 \bar "||" a2 | b1 d2 | c1 b2 | a1 \breathmark \bar "||" \break
  a2 | a1 b2 | c1 b2 | a1 g2 | \topstraddle g( fis) ^\fermata \bar "||" d2 | g1 b2 | a( g) fis | g1 \bar "||" 
} 
   
alto = \relative c' {  
  d2 | e1 g2 | e( d) d | d1 \bar "||" d2 | d1 g2 | g1 g2 | fis1 \bar "||" \break 
  d2 | e1 d2 | c1 d2 | e1 b2 | d1  \bar "||" d2 | d1 g2 | e( d) d | d1 \bar "||" 
}

tenor = \relative c {\clef bass 
  b'2 | b1 d2 | c( b) a | b1 \bar "||" fis2 | g1 d'2 | e1 d2 | d1 \bar "||" \break 
  fis,2 | a1 gis2 | a1 g!2 | c1 g2 | a1  \bar "||" fis2 | g1 d'2 | c( b) a | b1 \bar "||" 
}

bass = \relative c {\clef bass 
  g'2 | e1 b2 | c( d) d | g,1 \bar "||" d'2 | g,1 b2 | c1 g'2 | d1 \bar "||" \break 
  d2 | c1 b2 | a1 b2 | c1 e2 | d1 _\fermata  \bar "||" d2 | b1 g2 | c( d) d | g1 \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 90 2) }}      
  	
	
} %%% Score bracket

%%% Lyric attributions and titles

\markup { \small { \hspace #64 \italic "C. Guiet, 1601-64.  Tr. I. Williams" \hspace #-1 "‡." }}

\markup { \small { \hspace #38 "Patris aeterni suboles coaeva." }}

%%% Lyrics
%%% Strange Lilypond behaviour. Some blank lines (vertical spacing) were narrower than others so \lower #0.4 was used to adjust.

\markup { \hspace #32 %%add space as necc. to center the column
          \column { %% super column of everything
	              \column { %% verse 1 is a column of 2 lines  
	                  \line { \hspace #4.6 \column { \lower #2.4 \fontsize #8 "O" }   %%Drop Cap goes here
				  \hspace #-1.2    %% adjust this if other letters are too far from Drop Cap
				  \column  { \raise #0.0 " WORD of God above,"
			                                 "  Who fillest all in all," } }          
	                  \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 {   
					   "Hallow this house with thy sure love,"
					   "    And bless our festival."
					   "      " %%% adds vertical spacing between verses
			  		}}
		      }  
		       \line { \lower #0.4 { "2  "
			   \column {
				   "    Grace in this font is stored"
				   "    To cleanse each guilty child;"
				   "The Spirit's blest anointing poured"
				   "    Brightens the once defiled."
				    "      " %%% adds vertical spacing between verses
		       }}}
			\line { "3  "
				\column {
					"    Here Christ of his own Blood"
					"    Himself the chalice gives,"
					"And feeds his own with Angels' food,"
					"    On which the spirit lives."
					 "      " %%% adds vertical spacing between verses
			}}
			\line {"4  "
				\column {
					"    For guilty souls that pine"
					"    Sure mercies here abound,"
					"And healing grace with oil and wine"
					"    For every secret wound."
			}}
	  } %%% 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 #32 %%add space as necc. to center the column
          \column { %% super column of everything
			\hspace #1 % adds vertical spacing between verses
			\line {"5  "
				\column {
					"    God from his throne afar,"
					"    Comes in this house to dwell;"
					"And prayer, beyond the evening star,"
					"    Builds here her citadel."
					 "      " %%% adds vertical spacing between verses
			}}
			\line { \lower #0.4 { \hspace #-9.7 \italic "Unison. " "6. "
				\column {
					"    All might, all praise be thine,"
					"    The God whom all adore;"
					"The Father, Son, and Spirit divine,"
					"    Both now and evermore.     Amen."
     			}}}
	  }
} %%% 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 g1 \bar "||" }}
	\context Voice = "altos"    { \relative c' {  \clef treble \global \voiceTwo e1 d1 \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 c'1 b1 \bar "||" }}
	\context Voice = "basses" { \relative c { \clef bass \global \voiceFour  c1 g1 \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 90 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: 274.png

Links to L2 output version 1:

L2-171-v1.pdf L2-171-v1.midi L2-171-v1-amen.midi

Links to L2 output version 2:

L2-171-v2.pdf L2-171-v2.midi L2-171-v2-amen.midi


Notes by L2 Jkenny 09:42, 20 August 2007 (PDT)

  • This could have fitted into 1 page with lyrics in 2 columns, but the word "Unison" against verse 6 would have forced a lot of whitespace between the separating line and the right hand block of lyrics, and that would have looked ugly. Hence, went for a single column of lyrics.


Notes by L3 KenJ 17:24, 20 August 2007 (PDT)

  • System 1, measure 3, note 2, soprano: change b to g.
  • System 1, measure 3, note 3, bass: change e to d.
  • C Guiet: insert period after C.
  • Blank lines: In the image, the blank line above the first verse is narrower than the one below (between verses), and the blank line above that (between composer and title) is even narrower. I understand there's only so much that can be done, so do with it as you will. Keep consistency in mind.


Notes by Jkenny 19:39, 21 August 2007 (PDT)

  • System 1, fixed soprano b -> g
  • System 1 bass fixed e -> d
  • Inserted period after C in "C. Guiet" (author of lyrics)
  • Spacing between composer, title and lyric block - opted for the default settings which leave Lilypond to space out the entities as it wills. Lilypond moves in mysterious ways, and we'll never know how the product looks like when the PPer compiles it, so best leave it to him to tweak as he wishes later.
  • However, I deployed the new approach for blank lines between verses to work-around the uneven blank lines problem, so now (at least by my measurements) the verses are spaced evenly.
  • V2 up.


Notes by KenJ 21:41, 21 August 2007 (PDT)

  • If the composer/title/lyric spacing is done with a fault, that's good enough for me, as it means there's consistency.
  • Blank lines are looking very good. Hadn't seen any signification variation in many hymns the last couple of days.
  • Agree with ugly/unison. Good call.
  • Clear it.


V2 uploaded to repository.


Project History

    • Lily1 - (lyrics added) - STN done by KenJ 17:36, 19 August 2007 (PDT)
    • Lily2 - done. Jkenny 09:43, 20 August 2007 (PDT)
    • Lily3 - notes by KenJ 17:24, 20 August 2007 (PDT)
- fixed. Jkenny 19:40, 21 August 2007 (PDT)
- comments and Clear it. KenJ 21:43, 21 August 2007 (PDT)
- L3 cleared and uploaded. Jkenny 22:46, 21 August 2007 (PDT)