The English Hymnal - Wiki Music Experiment/087

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, 087.png
%%% Format=ABC
%%%
%%% first stave on page 086.png
%%% 
%%% not clear about the year "from VEBE'S Gesangbuchlein, 1537" or 1837, cant makeit.
%%%
%%%

X:1 
M:6/4
L:1/4
T:WER DA WONET. (D. L. M.)
C:Melody in ' St. Gall Gesangbuch,' 1869, from VEBE'S Gesangbuchlein, 1537
Q: 1/4=120
K:D
V:1
|:D|D2FA2F|(GA)BA2d|c2B(AF)A|(GF)GF2:|
A|B2cd2A|(GF)ED2D|F2GA2B|G2FE2||E|
F2^GA2B|(cd)BA2d|c2BA2G|(FG)EHD2||
%
V:2
|:A,|A,2DE2D|D2DD2F|F2D(ED)D|D2CD2:|
D|D2GF2D|D2CD2D|C2DD2D|(B,E)DC2||C|
D2EE2F|E2DC2D|F2DE2E|D2CHD2||
%
V:3 clef=bass
|:f|f2aa2a|g2gf2b|^a2b(e=a)a|b2aa2:|
a|g2gb2a|b2gf2b|C''2ba2f|(g3/a/2)bC''2||a|
a2ba2a|a2^ga2f|^a2be2=a|(ab)gHf2||
%
V:4 clef=bass
|:d|d2dc2d|B2Gd2B|f2g(cd)f|e2Ad2:|
f|g2eB2F|G2AB2b|a2gf2d|(e3/ f/2)ga2||A|
d2dc2d|e2eA2B|f2g(c3/B/2)c|(dG)AHd2||


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% The English Hymnal, 087.png
%%% Format=ABC
%%%
%%% Amen only. 
X:2
M:4/2
L:1/1
T:Amen
K:D
V:1
DD||
%
V:2
B,A,||
w: A-men.
%
V:3 clef=bass
gf||
%
V:4 clef=bass
Gd||

Lyrics copied from P3 and perl-formatted--QMacrocarpa 04:25, 18 May 2007 (PDT):

"The hymn for conquering Martyrs raise,"
"The victor Innocents we praise,"
"Whom in their woe earth cast away,"
"But heaven with joy received to-day;"
"Whose Angels see the Father's face"
"World without end, and hymn his grace;"
"And, while they chant unceasing lays,"
"The hymn for conquering Martyrs raise."
""
"A voice from Ramah was there sent,"
"A voice of weeping and lament,"
"When Rachel mourned the children's care"
"Whom for the tyrant's sword she bare."
"Triumphal is their glory now,"
"Whom earthly torments could not bow,"
"What time, both far and near that went,"
"A voice from Ramah was there sent."
""
"* Fear not, O little flock and blest,"
"The lion that your life opprest!"
"To heavenly pastures ever new"
"The heavenly Shepherd leadeth you;"
"Who, dwelling now on Sion's hill,"
"The Lamb's dear footsteps follow still;"
"By tyrant there no more distrest,"
"Fear not, O little flock and blest."
""
"* And every tear is wiped away"
"By your dear Father's hands for ay:"
"Death hath no power to hurt you more,"
"Whose own is life's eternal store."
"Who sow their seed, and sowing weep,"
"In everlasting joy shall reap,"
"What time they shine in heavenly day,"
"And every tear ¡s wiped away."
""
"O city blest o'er all the earth,"
"Who gloriest in the Saviour's birth,"
"Whose are his earliest Martyrs dear,"
"By kindred and by triumph here;"
"None from henceforth may call thee small,"
"Of rival towns thou passest all:"
"In whom our Monarch had his birth,"
"O city blest o'er all the earth!"

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

%%% 087png first staff on 86png
%%% Hymn 35 Wer Da Wonet "The Hymn for conquering Martyrs raise"
%%% Version 4

\version "2.10"

\header {
  dedication = \markup { \center-align { "THE CHRISTIAN YEAR - INNOCENTS' DAY"
		\hspace #0.1 }}	
		title = \markup { "35" }
  meter = \markup { \column {  \line { \small { \sans {"WER DA WONET."} \hspace #1 \roman {"(D. L. M.)"}}}
	                        \line { \small {\italic {In moderate time} \fontsize #-5 \general-align #Y #DOWN \note #"4" #1 = 120.} }
  }}   
  arranger =  \markup { \center-align {
		            \line { \small \italic "Melody in ‘St. Gall Gesangbuch,’ 1863,"  }
			    \line { \small {\italic "from" \smallCaps "Vehe's" \italic "Gesangbüchlein, 1537."  }}
  }}
  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 ","}
}	      

%%prints a repeat sign glyph comprising 4 dots and two thin bars
fdendrepeat = {\once \override Staff.BarLine #'stencil = #ly:text-interface::print 
	\once \override Staff.BarLine #'text = \markup  {  \line { \raise #1.4 \override #'(baseline-skip . 1.0)  \column { \with-color #black {  \fontsize #2 . \fontsize #2 . \fontsize #2 . \fontsize #2 .} }
	                                                  \hspace #-1 \filled-box #'(0 . 0.15) #'(-2 . 2) #0
							  \hspace #-0.9 \filled-box #'(0 . 0.15) #'(-2 . 2) #0
	
	} }	
        \bar "||"} 

%%prints a repeat sign glyph comprising 4 dots. Used only to begin a repeat at the start of a piece where \bar ":" does not work	
fdstartrepeat =  {\once \override Staff.BarLine #'stencil = #ly:text-interface::print 
	          \once \override Staff.BarLine #'text = \markup  { \line { \hspace #0 \override #'(baseline-skip . 1.0) 
	                                                 \raise #1.4 \column { \with-color #black { 
							                \fontsize #2 . \fontsize #2 . \fontsize #2 . \fontsize #2 .} }
	          } }	
                 \bar "|:"}
		 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% end of macro definitions

%%% SATB voices

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

soprano = \relative c' {
  \fdstartrepeat \partial 4 d4 | d2 fis4 a2 fis4 | g4 ( a4 ) b4 a2 d4 | 
       cis2 b4 a4 ( fis4 ) a4 | g4 ( fis4 ) g4 fis2 \breathmark \fdendrepeat \break
  a4 | b2 cis4 d2 a4 | g4 ( fis4 ) e4 d2 d4 | 
       fis2 g4 a2 b4 | g2 fis4 e2 \breathmark \bar "||" \break
  e4 | fis2 gis4 a2 b4 | cis4 ( d4 ) b4 a2 d4 | 
       cis2 b4 a2 g4 | fis4 ( g4 ) e4 d2 ^\fermata \bar "||" 
}

alto = \relative c' {
  \fdstartrepeat a4 | a2 d4 e2 d4 | d2 d4 d2 fis4 | 
	fis2 d4 e4 ( d4 ) d4 | d2 cis4 d2 \fdendrepeat
  d4 | d2 g4 fis2 d4 | d2 cis4 d2 d4 | 
        cis2 d4 d2 d4 | b4 ( e4 ) d4 cis2 \bar "||" 
  cis4 | d2 e4 e2 fis4 | e2 d4 cis2 d4 | 
        fis2 d4 e2 e4 | d2 cis4 d2  \bar "||" 
}

tenor = \relative c { \clef bass
  \fdstartrepeat fis4 | fis2 a4 a2 a4 | g2 g4 fis2 b4 | 
       ais2 b4 e,4 ( a!4 ) a4 | b2 a4 a2 \fdendrepeat
  a4 | g2 g4 b2 a4 | b2 g4 fis2 b4 | 
       cis2 b4 a2 fis4 | g4. ( a8 ) b4 cis2 \bar "||" 
  a4 | a2 b4 a2 a4 | a2 gis4 a2 fis4 | 
       ais2 b4 e,2 a!4 | a4 ( b4 ) g4 fis2 \bar "||" 
}

bass = \relative c { \clef bass
  \fdstartrepeat d4 | d2 d4 cis2 d4 | b2 g4 d'2 b4 | 
       fis'2 g4 cis,4 ( d4 ) fis4 | e2 a,4 d2 \fdendrepeat
  fis4 | g2 e4 b2 fis4 | g2 a4 b2 b'4 | 
       a2 g4 fis2 d4 | e4. ( fis8 ) g4 a2 \bar "||" 
  a,4 | d2 d4 cis2 d4 | e2 e4 a,2 b4 | 
       fis'2 g4 cis,4. ( b8 ) cis4 | d4 ( g,4 ) a4 d2_\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 = ##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 \remove "Bar_number_engraver" }
		\context { \Staff \remove "Time_signature_engraver" }
		\context { \Score \remove "Mark_engraver"  }
                \context { \Staff \consists "Mark_engraver"  }
	}

} %%score bracket

%%%%%%%%%%%%%%%% This next section of code is for
%%%%%%%%%%%%%%%% unfolding the repeats and generating the midi
%%%%%%%%%%%%%%%% Not needed for visual layout
                
\score { 
\new ChoirStaff 
<<

\new Staff = "soprano" {\relative c' {\clef treble \global  
  \unfoldRepeats { \repeat volta 2 { \partial 4 d4 | d2 fis4 a2 fis4 | g4 ( a4 ) b4 a2 d4 | 
       cis2 b4 a4 ( fis4 ) a4 | g4 ( fis4 ) g4 fis2 } } \break
  a4 | b2 cis4 d2 a4 | g4 ( fis4 ) e4 d2 d4 | 
       fis2 g4 a2 b4 | g2 fis4 e2 \bar "||" \break
  e4 | fis2 gis4 a2 b4 | cis4 ( d4 ) b4 a2 d4 | 
       cis2 b4 a2 g4 | fis4 ( g4 ) e4 d2 ^\fermata \bar "||" 
 }
}

\new Staff = "alto" {\relative c' {\clef treble \global  
  \unfoldRepeats { \repeat volta 2 { a4 | a2 d4 e2 d4 | d2 d4 d2 fis4 | 
	fis2 d4 e4 ( d4 ) d4 | d2 cis4 d2 } }
  d4 | d2 g4 fis2 d4 | d2 cis4 d2 d4 | 
        cis2 d4 d2 d4 | b4 ( e4 ) d4 cis2 \bar "||" 
  cis4 | d2 e4 e2 fis4 | e2 d4 cis2 d4 | 
        fis2 d4 e2 e4 | d2 cis4 d2  \bar "||" 

 }	
}

\new Staff = "tenor" { \relative c {\clef bass \global  
  \unfoldRepeats { \repeat volta 2 { fis4 | fis2 a4 a2 a4 | g2 g4 fis2 b4 | 
       ais2 b4 e,4 ( a!4 ) a4 | b2 a4 a2 } }
  a4 | g2 g4 b2 a4 | b2 g4 fis2 b4 | 
       cis2 b4 a2 fis4 | g4. ( a8 ) b4 cis2 \bar "||" 
  a4 | a2 b4 a2 a4 | a2 gis4 a2 fis4 | 
       ais2 b4 e,2 a!4 | a4 ( b4 ) g4 fis2 \bar "||" 

 } 
}


\new Staff = "bass" { \relative c { \clef bass \global  
  \unfoldRepeats { \repeat volta 2 { d4 | d2 d4 cis2 d4 | b2 g4 d'2 b4 | 
       fis'2 g4 cis,4 ( d4 ) fis4 | e2 a,4 d2 } }
  fis4 | g2 e4 b2 fis4 | g2 a4 b2 b'4 | 
       a2 g4 fis2 d4 | e4. ( fis8 ) g4 a2 \bar "||" 
  a,4 | d2 d4 cis2 d4 | e2 e4 a,2 b4 | 
       fis'2 g4 cis,4. ( b8 ) cis4 | d4 ( g,4 ) a4 d2_\fermata \bar "||" 	
 }
}

>>

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

} %% midi score bracket

%%% Lyric titles and attributiona

\markup { \hspace #56 \small \italic "The Venerable Bede, 673-735.   Tr. J. M. Neale."}  

\markup {  \hspace #40 \small "Hymnum canentes martyrum." }


%%% 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 "T" }   %%Drop Cap goes here
				  \hspace #-1    %% adjust this if other letters are too far from Drop Cap
				  \column  { \raise #0.0 "HE hymn for conquering Martyrs raise," 
			                                 "  The victor Innocents we praise," } }          
	                  \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 {   
					   "Whom in their woe earth cast away,"
					   "But heaven with joy received to-day;"
					   "Whose Angels see the Father's face"
					   "World without end, and hymn his grace;"
					   "And, while they chant unceasing lays,"
					   "The hymn for conquering Martyrs raise."
			  		}}
			           } %% finish verse 1
	       }
	  }


%%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
}}}
	
\markup { \hspace #30   %%add space as necc. to center the column
	       \column { 
           	 \line { "2  "
			\column {	     
				"A voice from Ramah was there sent,"
				"A voice of weeping and lament,"
				"When Rachel mourned the children's care"
				"Whom for the tyrant's sword she bare."
				"Triumphal is their glory now,"
				"Whom earthly torments could not bow,"
				"What time, both far and near that went,"
				"A voice from Ramah was there sent."
			}}	   

	        \hspace #1 
           	\line { "3* "
			\column {	     
				"Fear not, O little flock and blest,"
				"The lion that your life opprest!"
				"To heavenly pastures ever new"
				"The heavenly Shepherd leadeth you;"
				"Who, dwelling now on Sion's hill,"
				"The Lamb's dear footsteps follow still;"
				"By tyrant there no more distrest,"
				"Fear not, O little flock and blest."
			}}
			
		\hspace #1 
           	\line { "4* "
			\column {	     
				"And every tear is wiped away"
				"By your dear Father's hands for ay:"
				"Death hath no power to hurt you more,"
				"Whose own is life's eternal store."
				"Who sow their seed, and sowing weep,"
				"In everlasting joy shall reap,"
				"What time they shine in heavenly day,"
				"And every tear is wiped away."
			}}		

		\hspace #1 	  
		\line { "5. "
			\column {
				"O city blest o'er all the earth,"
				"Who gloriest in the Saviour's birth,"
				"Whose are his earliest Martyrs dear,"
				"By kindred and by triumph here;"
				"None from henceforth may call thee small,"
				"Of rival towns thou passest all:"
				"In whom our Monarch had his birth,"
				"O city blest o'er all the earth!"
             }
           }
          }
}
       
%% 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 d1 d1 \bar "||" }}
	\context Voice = "altos"    { \relative c' { \clef treble \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 { \clef bass \global \voiceThree g'1 fis1 \bar "||" }}
	\context Voice = "basses" { \relative c { \clef bass \global \voiceFour  g1 d'1 \bar "||" }}
			        >> 
  >>			      
\header { breakbefore = ##f piece = ##f opus = ##f }
\layout { 
	ragged-right = ##t
	indent = 15\cm
	\context { \Score timing = ##f } 
	\context { \Staff \remove Time_signature_engraver }

       }

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

%%% Hymn also suitable

\markup {  \hspace #26 \italic "The following is also suitable:" \small "  611 When Christ was born." } 
  


} %%book bracket

Lily3

We are trying out a new workflow where L3 grabs the code, compiles and checks. After clearance, L3 will name the files and upload to repository. This ensures that what is checked and cleared is exactly what is uploaded.


Notes

Notes by Jkenny 05:19, 19 May 2007 (PDT)

  • Trying out the revised font standards (still being discussed) - stuff in header is default, stuff under music is \small, lyrics are default.

Comments from stygiania 22:12, 19 May 2007 (PDT)

  • Don't need (Alternative) in the title. The previous hymn on this page is 34.
  • Everything else looks/sounds good.

Comments from ebykm, 13:35 20 May 2007

  • can someone check if the year is 1537 or 1837,? it isn't clear on the scan. and Is VEBE or Vehe(as on lilly2 code)?.

"from VEBE'S Gesangbuchlein," 086.png

Replies from Jkenny 06:08, 20 May 2007 (PDT)

  • Fixed the "Alternative" - actually it was a demo for discussion - forgot to remove it.
  • Incorporated all the Proposal 3 font size conventions.
  • Googled for Vehe and Gesangbuchlein. Turns out that Michael VEHE was a bishop who published the Gesangbuchlein in 1537 (Leipzig), so that fits.
  • Googled for ST Gall. Gesangbuch -- returned some hits, 4-5 items mentioning a Robert Pearsall who edited the book in 1837. So that fits.
  • Now I am beginning to wonder whether "buch" should have an umlaut (hint of one in the 1933 edition).

ebykm

  • umlaut is printed for "from VEHE'S Gesangbüchlein, 1537" on my 1966 ed, but umlaut isn't printed for "Melody in ' St. Gall Gesangbuch"

QMacrocarpa 10:05, 21 May 2007 (PDT)

  • On "Gesangbuchlein"-- I see a tiny speck over that u which might be trace of umlaut or might not. I would omit, but don't feel strongly. Agree no umlaut over "Gesangbuch".
  • About the asterisks after some of the verse numbers: I think I may have seen these handled differently elsewhere, not right next to verse number but more part of lyrics column (does this ring a bell with anyone else?). Should standardize. I suppose it's unlikely, but conceivable, that a final verse might get an asterisk (the asterisked verses are ones that can be omitted without doing violence to the hymn's meaning), in which case we might have a situation where we needed to add another space between the verse number and first line if we use this method: "4.* Line one...."
  • Should line between lyrics columns extend to bottom of verses as in scan?
  • Amen block lyric size seems to be different from what I thought convention was. Which is correct?
#'font-size = #-1 A -- men.
or
#'font-size = #-2 A -- men.
(I thought it was the first one)


Jkenny 19:21, 21 May 2007 (PDT)

  • Left umlauts out
  • Asterisks - I agree. Moved them to the first position in the words column. Matches the image better.
  • Extended the line between lyrics
  • Amen should be #-1, fixed.


stygiania 21:20, 21 May 2007 (PDT)

  • All looking good to me. Won't upload now since my router is bugging out.

QMacrocarpa 05:49, 22 May 2007 (PDT)

  • Having second thoughts about umlaut over Gesangbuchlein-- it does have umlaut in index entry on 970.png (at bottom right). But I haven't found Gesangbuch in concatenated text file with umlaut, so I still wouldn't put one there.

Jkenny 02:41, 25 May 2007 (PDT)

  • About your latest decision that there should be an umlaut in Gesangbuchlein, I'm happy having the umlaut there. I can confirm that in the 1933 edition, buchlein has an umlaut but buch does not.
  • Also reset margins/headers etc to all default sizes. As a result, lyrics were reset into a single column (simpler).

Lily3 cleared, files uploaded stygiania 00:12, 30 May 2007 (PDT)

Revision notes Jkenny 08:14, 9 August 2007 (PDT)

  • Added comments and updated code style
  • Asterisks in lyrics moved to be part of verse numbers.
  • Replaced single quote marks with curly quote marks.
  • Lyric titles and attributions adjusted.
  • Music and lyric text untouched.
  • This becomes version 4.

Project History

    • Lily1 - ABC score + amen by ebykm
- QMacrocarpa added perl-formatted lyrics.
    • Lily2 - Done Jkenny 05:21, 19 May 2007 (PDT). No need for amens - we've got lots of ready to paste amen blocks by now.
    • Lily3 - Comments added stygiania 22:13, 19 May 2007 (PDT)
-Errors on lily code ?, see Notes. added ebykm 13:50, 20 May 2007
-fixed, dates and names verified. Jkenny 06:20, 20 May 2007 (PDT)
- umlaut is printed on later editions ebykm 19:47 20 May 2007
- Comments added QMacrocarpa 10:07, 21 May 2007 (PDT)
- Fixed. Jkenny 19:25, 21 May 2007 (PDT)
- One last thing-- new umlaut opinion from Q. (sorry!)
- ok, no umlauts there. Jkenny 22:09, 22 May 2007 (PDT)
- edited Lily2 code to add the single umlaut I think it needs (yes, I changed my mind...). New umlaut opinion based on index entry at bottom of 970.png. --QMacrocarpa.
- I'm fine with that. Also reset margins to defaults. Jkenny 02:46, 25 May 2007 (PDT)
- Lily3 cleared, files uploaded stygiania 00:13, 30 May 2007 (PDT)
    • Version 4 uploaded to repository.