The English Hymnal - Wiki Music Experiment/083

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.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% The English Hymnal, 083.png, Hymn #31 (modern tune).
%%% Format=ABC
%%%
%%% Low E in parentheses in last meas. 2nd system, bass line.

X: 17
T: ST. THOMAS. (8 7. 8 7. 8 7.)
C: Melody from S. Webbe's 'Motetts or Antiphons,' 1792.
M: 4/2
L: 1/2
Q: 1/2=66
K: D
V:1 staves=4
%%MIDI transpose 0
DEFD|EFGF||BAGF|EED2||
dcdA|BAGF||Bcdc|BBA2||
AAFD|EFGF||AFB(A/G/)|FED2||
%
V:2
%%MIDI transpose 0
A,CDD|A,DCD||DD(D/C/)D|DCD2||
FEDD|DDCD||F>EDE|E>DC2||
DEDD|CD(D/C/)D||D>C(B,/C/)D|DCD2||
%
V:3 clef=bass
%%MIDI transpose -24
faaa|aaaa||ga(b/g/)a|a>gf2||
agff|gaaa||d'c'b=a|a^ga2||
aaaa|aaga||aag(a/b/)|a>gf2||
%
V:4 clef=bass
%%MIDI transpose -24
dAdf|cded||gfed|AAd2||
defd|gfed||B^AB(c/d/)|e[Ee]A2||
fcdf|gfed||fdg(f/g/)|aAd2||

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% The English Hymnal, 083.png, Hymn #31 (modern tune), amen only.
%%% Format=ABC
%%%

X: 18
T: 
C: 
M: 4/2
L: 1/2
Q: 1/2=60
K: D
V:1 staves=4
%%MIDI transpose 0
D2D2||
%
V:2
%%MIDI transpose 0
B,2A,2||
w:A-men.
%
V:3 clef=bass
%%MIDI transpose -24
g2f2||
%
V:4 clef=bass
%%MIDI transpose -24
G2d2||

Lyrics copied from P3 and perl-formatted:

"Saint of God, elect and precious,"
"    Protomartyr Stephen, bright"
"With thy love of amplest measure,"
"    Shining round thee like a light;"
"Who to God commendedst, dying,"
"    Them that did thee all despite:"
""
"Glitters now the crown above thee,"
"    Figured in thy sacred name:"
"O that we, who truly love thee,"
"    May have portion in the same;"
"In the dreadful day of judgement"
"    Fearing neither sin nor shame."
""
"Laud to God, and might, and honour,"
"    Who with flowers of rosy dye"
"Crowned thy forehead, and hath placed thee"
"    In the starry throne on high:"
"He direct us, he protect us"
"    From death's sting eternally. Amen."

Lily2 Code

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

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

Then create a link in the Lily3 section to those files

%%%083png
%%%Hymn 31 Modern. St Thomas  "Saint of God, elect and precious"
%%%Version 3

\version "2.10"

\header {
  dedication = \markup { \center-align { "THE CHRISTIAN YEAR - ST. STEPHEN'S DAY"
		                         \hspace #0.1 }}	
  
  title = \markup { "31" \large \smallCaps " (Modern Tune)" }
  
  meter = \markup { \small {\column {  \line { \sans {"ST. THOMAS."} \hspace #1 \roman {"(8 7. 8 7. 8 7.)"}}
                                       \line { \italic {Moderately slow, dignified} \general-align #Y #DOWN \note #"2" #0.5 = 66.}
  }}}
 
  arranger =  \markup { \small {\center-align {
		            \line{ \italic "Melody from" \smallCaps "S. Webbe's"}
			    \line { "‘" \hspace #-1.2 \italic "Motetts or Antiphons" \hspace #-1.2 ",’ 1792."}			    
  }}}
  
  tagline =""
}


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

%% generates a parenthesis large enough to enclose two noteheads. Use extra-offset to position it.
%% uaing it because regular parentheses are too small and faint

parens = \markup { \fontsize #2 \musicglyph #"accidentals.leftparen" \hspace #0.8 \fontsize #1 \musicglyph #"accidentals.rightparen"}

%%%%%%%%%%%%%%%%%%%%%%%%%e nd of Macro definitions

%%%% SATB voices

soprano = \relative c' {
  d2 e2 fis2 d2 | e2 fis2 g2 fis2 \bar "||" b2 a2 g2 fis2 | e2 e2 d1 \bar "||" \break
  d'2 cis2 d2 a2 | b2 a2 g2 fis2 \bar "||" b2 cis2 d2 cis2 | b2 b2 a1 \bar "||" \break
  a2 a2 fis2 d2 | e2 fis2 g2 fis2 \bar "||" a2 fis2 b2 a4 ( g4 ) | fis2 e2 d1 \bar "||" 
}

alto = \relative c' {
  a2 cis2 d2 d2 | a2 d2 cis2 d2 \bar "||" d2 d2 d4 ( cis4 ) d2 | d2 cis2 
      \once \override NoteColumn #'force-hshift = #-0.01  d1 \bar "||" 
  fis2 e2 d2 d2 | d2 d2 cis2 d2 \bar "||" fis2. e4 d2 e2 | e2. d4 cis1 \bar "||" 
  d2 e2 d2 d2 | cis2 d2 d4 ( cis4 ) d2 \bar "||" d2. cis4 b4 ( cis4 ) d2 | d2 cis2 
      \once \override NoteColumn #'force-hshift = #-0.01 d1 \bar "||" 
}

tenor = \relative c { \clef bass
  fis2 a2 a2 a2 | a2 a2 a2 a2 \bar "||" g2 a2 b4 ( g4 ) a2 | a2. g4 fis1 \bar "||" 
  a2 g2 fis2 fis2 | g2 a2 a2 a2 \bar "||" d2 cis2 b2 a!2 | a2 gis2 a1 \bar "||" 
  a2 a2 a2 a2 | a2 a2 g2 a2 \bar "||" a2 a2 g2 a4 ( b4 ) | a2. g4 fis1 \bar "||" 
}

bass = \relative c { \clef bass
  d2 a2 d2 fis2 | cis2 d2 e2 d2 \bar "||" g2 fis2 e2 d2 | a2 a2 d1 \bar "||" 
  d2 e2 fis2 d2 | g2 fis2 e2 d2 \bar "||" b2 ais2 b2 cis4 ( d4 ) | 
       e2 << { e2 } 
       \new Voice = optional { \voiceFour 
	   \once \override NoteColumn #'force-hshift = #0.45    
           \set fontSize = #-3 e,2 } >> 
	   \once \override TextScript #'padding = #0
	   \once \override TextScript #'extra-offset = #'( -7.0 . 0.0 )
	   a1_\parens \bar "||" 
  fis'2 cis2 d2 fis2 | g2 fis2 e2 d2 \bar "||" fis2 d2 g2 fis4 ( g4 ) | 
        \once \override NoteColumn #'force-hshift = #0.45   
        a2 a,2 d1 \bar "||" 
}

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

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

\paper {
  #(set-paper-size "a4")
  top-margin = 1\mm
  bottom-margin = 1\mm
  print-page-number = ##f
  between-system-space = #0.2
  ragged-last-bottom = ##t
  ragged-bottom = ##t
}

\book{

\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 timing = ##f }
		\context { \Score \remove "Bar_number_engraver" }
		\context { \Staff \remove "Time_signature_engraver" }
		\context { \Score \remove "Mark_engraver"  }
                \context { \Staff \consists "Mark_engraver"  }
	}
	
\midi { 
   \context {
       \Score 
       tempoWholesPerMinute = #(ly:make-moment 66 2)
            }
       }
	
} %%score bracket

%%% Lyric titles and attributions

\markup { \hspace #16 \small \smallCaps "Office Hymn. M. and E."  \hspace #26 \small \italic "10th-16th cent.  Tr. J. M. Neale."  }

\markup { \hspace #42 \small "Sancte Dei pretiose." }


%%% Lyrics

\markup { \hspace #30 %%add space as necc. to center the column
          \column { %% super column of everything
	              \column { %%verse 1 is a column of 2 lines  
	                  \line { \hspace #2.2 \column { \lower #2.4 \fontsize #8 "S" }   %%Drop Cap goes here
				  \hspace #-1.0    %% adjust this if other letters are too far from Drop Cap
				  \column  { \raise #0.0 "AINT of God, elect and precious," 
			                                 "  Protomartyr Stephen, bright" } }          
	                  \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 {   
					   "With thy love of amplest measure,"
					   "    Shining round thee like a light;"
					   "Who to God commendedst, dying,"
					   "    Them that did thee all despite:"
			  		}}
		      } %%% end verse 1	
		      \hspace #1  % adds vertical spacing between verses  
		          \line { "2  "
			  \column {	     
				  "Glitters now the crown above thee,"
				  "    Figured in thy sacred name:"
				  "O that we, who truly love thee,"
				  "    May have portion in the same;"
				  "In the dreadful day of judgement"
				  "    Fearing neither sin nor shame."
			}}
	  } %%% 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 { %% super column of everything		      
			\hspace #1  % adds vertical spacing between verses  
           		\line { "3. "
			   \column {	     
				  "Laud to God, and might, and honour,"
				  "    Who with flowers of rosy dye"
				  "Crowned thy forehead, and hath placed thee"   
				  "    In the starry throne on high:"
				  "He direct us, he protect us"
				  "    From death's sting eternally.     Amen." 
			}}
	  } %%% end supercolumn
} %%% end markup	  
       

%%% Amen score block
\score{
		
	
 \new ChoirStaff
 <<
 \context Staff = upper \with { fontSize = #-3  \override StaffSymbol #'staff-space = #(magstep -2) }  
                      << 
        \context Voice = "sopranos" { \relative c' { \global \voiceOne  d1 d1 \bar "||" }}
	\context Voice = "altos" { \relative c'    { \global \voiceTwo b1 a1 \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 {  \global \clef bass \voiceThree g'1 fis1 \bar "||" }}
	\context Voice = "basses" { \relative c {  \global \clef bass \voiceFour g1 d'1 \bar "||" }}
			 >> 
 >>			 
\header { breakbefore = ##f piece = " " opus = " " }

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

 }

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

} 	

} %%book bracket

Lily3

Download the files from these links, edit the code in Lily2 or else leave notes in the section below.


Notes

Notes by Jkenny 08:33, 20 May 2007 (PDT)

  • Conforms to Proposal 3 conventions

Comments by stygiania 16:57, 20 May 2007 (PDT)

  • Second Arranger line, first word should be Motetts instead of Moletts.
  • Latin before lyrics should read Sancte instead of Sante.

QMacrocarpa 10:28, 21 May 2007 (PDT)

  • I don't think we need "St. Stephen's Day" above lyrics, even though it's in scan-- in our version the theme is already covered in the top of the page header. In original, since first page header is just "The Christian Year," (and this is first piece after Christmas theme) it makes sense to include St. Stephen's Day elsewhere on page, but for us I think it's redundant.
  • Agree with Styg's scanno corrections, otherwise this looks ready to go!

Jkenny 08:18, 22 May 2007 (PDT)

  • Commented out the St. Stephens and made a note below to tell PPer about it.
  • Fixed typos - my mistakes, not P3's.
  • When uploading file, pse remember to add c3 after filename to remind us that it is updated to Proposal 3 conventions. E.g. 083png-H31mod-v2c3.ly

Lily3 cleared, files uploaded stygiania 09:02, 22 May 2007 (PDT)

Revision notes Jkenny 18:50, 13 August 2007 (PDT)

  • Inserted more comments
  • Re-paginated lyrics to simplify code, lyric text was not touched.
  • Music was not touched.
  • Fixed typo in midi tempo for Amen block.
  • Used larger style notehead for tempo line.
  • This becomes version 3

Differences between Lilypond and Image

  • We opted to comment out the "St. Stephen's Day" phrase above the lyrics because the header already has this line.

Project History

    • Lily1 - done by QMacrocarpa (ABC + perl-formatted Lilypond-style lyrics).
    • Lily2 - done by Jkenny 08:35, 20 May 2007 (PDT). Conforms to Proposal 3 conventions.
    • Lily3 - comments added by S & Q.
- fixed. Jkenny 08:20, 22 May 2007 (PDT)
- Lily3 cleared stygiania 09:02, 22 May 2007 (PDT)
    • Version 3 uploaded to repository. Jkenny 18:52, 13 August 2007 (PDT)