The English Hymnal - Wiki Music Experiment/086

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).

Soprano = a4 | a2 f4 | bes4. a8 g4 | c2 d4 | c2. || c4 d4 a4 |
  bes2 c4 | a4. g8 f4 | g2. || g4 a4 e4 | f2 f4 |
  f4. e8 d4 | g2 || c4 | f2 g4 | a4. bes8 c4 | a2 g4 | f2 || f1 f1 ||

Alto = f4 | f2 f4 | f2 f4 | f2 e4 | f2. || f4 fis4 fis4 |
  g4. f8 e4 | f4. e8 d4 | e2. || d4 cis4 cis4 | d2 c4 |
  b2 b4 | c2 || e4 | f2 c4 | f2 f4 | f2 e4 | f2 || d1 c1 ||

Tenor = c4 | c2 a4 | d4. c8 bes4 | a2 g4 | a2. || a4 a4 d4 |
  d2 c4 | c4. bes8 a4 | g2. || d4 e4 a4 | a2 a4 |
  a4. g8 f4 | e2 || bes4 | a2 c4 | c2 c4 | c2 bes4 | a2 || bes1 a1 ||

Bass = f4 | f2 f4 | f2 f4 | f2 f4 | f2. || f4 d4 d4 |
  g2 c4 | f2 f4 | c2. || bes4 a4 a4 | d2 d4 |
  g2 d4 | c2 || c4 | d2 e4 | f2 a4 | c2 c4 | f2 || bes1 f1 ||
"ALL hail, ye little Martyr flowers,"
"Sweet rosebuds cut in dawning hours!"
"When Herod sought the Christ to find"
"Ye fell as bloom before the wind."
""
"First victims of the Martyr hands,"
"With crowns and palms in tender hands,"
"Around the very altar, gay"
"And innocent, ye seem to play."
""
"What profited this great offence?"
"What use was Herod's violence?"
"A Babe survives that dreadful day,"
"And Christ is safely borne away."
""
"All Honour, laud, and glory be,"
"O Jesu, virgin-born, to thee;"
"All glory, as is ever meet"
"To Father and to Paraclete."
"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

%%% 086.png
%%% Hymn 34 Sarratt All Hail, ye little
%%% Version 2

\version "2.10"

\header {
  dedication = \markup { \center-align { "THE CHRISTIAN YEAR - INNOCENTS' DAY"
		\hspace #0.1 }}	
  title = "34"
  
  meter = \markup {  \small { \column {  \line { \sans {"SARRATT."} \hspace #1 \roman {"(L. M.)"}}
                                        \line { \italic {Moderately slow} \fontsize #-5 \general-align #Y #DOWN \note #"4" #1 = 112.}}}}   
  
  arranger =  \markup {  \small \center-align {
		            \line{ " " } 
  			    \line { \smallCaps "G. C. E. Ryley."}}}
  tagline =""
}

%%% SATB voices

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

soprano = \relative c' {
  \tag #'Tune { \partial 4 a'4 | a2 f4 | bes4.( a8) g4 | c2 d4 | c2. \bar "||" c4 d4 a4 | \break
  bes2 c4 | a4.( g8) f4 | g2. \bar "||" g4 a4 e4 | f2 f4 | \break
  f4.( e8) d4 | g2 \bar "||" c4 | f,2 g4 | a4.( bes8) c4 | a2 g4 \bar "|"
      \set Score.measurePosition = #(ly:make-moment 1 4)
	f2 \bar "||" }
  \tag #'Amen {\time 4/2 \new Voice = "Amen" { f1 f1 } }\oneVoice \bar "||"

}

alto = \relative c' {
  \tag #'Tune { \partial 4 f4 | f2 f4 | f2 f4 | f2 e4 | f2. \bar "||" f4 fis4 fis4 |
  g4.( f!8) e4 | f4.( e8) d4 | e2. \bar "||" d4 cis4 cis4 | d2 c!4 |
  b2 b4 | c2 \bar "||" e4 | f2 c4 | f2 f4 | f2 e4 \bar "|"
      \set Score.measurePosition = #(ly:make-moment 1 4)
      f2 \bar "||" }
  \tag #'Amen { d1 c1 } \bar "||" 
}

tenor = \relative c { \clef bass
  \tag #'Tune { \partial 4 c'4 | c2 a4 | d4.( c8) bes4 | a2 g4 | a2. \bar "||" a4 a4 d4 |
  d2 c4 | c4.( bes8) a4 | g2. \bar "||" d4 e4 a4 | a2 a4 |
  a4.( g8) f4 | e2 \bar "||" bes'!4 | a2 c4 | c2 c4 | c2 bes4 \bar "|"
      \set Score.measurePosition = #(ly:make-moment 1 4)
      a2 \bar "||" }
  \tag #'Amen { bes1 a1 }\bar "||"
}

bass = \relative c { \clef bass
  \tag #'Tune { \partial 4 f4 | f2 f4 | f2 f4 | f2 f4 | f2. \bar "||" f4 d4 d4 |
  g2 c,4 | f2 f4 | c2. \bar "||" bes4 a4 a4 | d2 d4 |
  g,2 d'4 | c2 \bar "||" c4 | d2 e4 | f2 a,4 | c2 c4 \bar "|"
      \set Score.measurePosition = #(ly:make-moment 1 4)
      f2 \bar "||" }
  \tag #'Amen { bes,1 f'1 } \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 }
	                      >>
	\new Lyrics \lyricsto "Amen" { \override LyricText #'font-size = #-1 A -- men. }
	\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"  }
	}

	
} %%score bracket

%%%% score block to generate tune midi without Amen

\score {
\new ChoirStaff	
 <<

	\context Staff = upper << 
	\context Voice = sopranos { \voiceOne \global \removeWithTag #'Amen \soprano }
	\context Voice = altos    {\voiceTwo \global \removeWithTag #'Amen \alto }
	                      >>
	\context Staff = lower <<
	\context Voice = tenors { \voiceOne \global \removeWithTag #'Amen \tenor }
	\context Voice = basses { \voiceTwo \global \removeWithTag #'Amen \bass }
			        >>
 >>
	
\midi {    \context { \Score tempoWholesPerMinute = #(ly:make-moment 112 4) } }

} 

%%% score block to generate Amen midi without main tune

\score {
\new ChoirStaff	
 <<

	\context Staff = upper << 
	\context Voice = sopranos { \voiceOne \global \removeWithTag #'Tune \soprano }
	\context Voice = altos    {\voiceTwo \global \removeWithTag #'Tune \alto }
	                      >>
	\context Staff = lower <<
	\context Voice = tenors { \voiceOne \global \removeWithTag #'Tune \tenor }
	\context Voice = basses { \voiceTwo \global \removeWithTag #'Tune \bass }
			        >>
 >>
	
\midi {    \context { \Score tempoWholesPerMinute = #(ly:make-moment 112 4) } }

} 

%%% Hymn Note

\markup { \hspace #18 \smallCaps "Note." "—" \italic "This hymn may also be sung to the Rouen Melody, No. 18." } 

%%% Lyric titles and attributions

\markup { \hspace #7 \small {  "(" \hspace #-1 \italic "Office Hymns, 182, 183." \hspace #-1 ")" \hspace #44 \italic "Prudentius, b. 348.  Tr. A. R."  }  } 

\markup { \hspace #46 \small "Salvete flores martyrum." }

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

\markup { \hspace #5 %%add space as necc. to center the column
          \column { %% super column of everything
            \line { %% a master line of 3 columns
              \column { %% column 1
	      \hspace #0.2 % adds vertical spacing between verses
	        \column { %%stanza 1 is a column of 2 lines  
	          \line { \hspace #2.2 \column { \lower #2.4 \fontsize #8 "A" }   %%Drop Cap goes here
			 \hspace #-1.2    %% adjust this if other letters are too far from Drop Cap
			\column  { \raise #0.0 "LL hail, ye little Martyr flowers," "  Sweet rosebuds cut in dawning hours!" } }          
	          \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 {   
				"When Herod sought the Christ to find"
				"Ye fell as bloom before the wind."
			  		}}
	          } %% finish stanza 1
		  
	         \hspace #0.2 % adds vertical spacing between verses
                 \line { "2  "
                    \column {	     
			    "First victims of the Martyr bands,"
			    "With crowns and palms in tender hands,"
			    "Around the very altar, gay"
			    "And innocent, ye seem to play."  
	         }}
	}  %% finish Page column 1
		
	\hspace #4 %%adds horizontal space columns 1 and 2   
			   
	\column { \filled-box #'(0.0 . 0.1) #'( -26 . -1) #0 }       %%Column 2. This is the line dviding the columns 1 and 3. 
			   	   
	\hspace #4 %%adds horizontal space between columns 2 and 3
	   
	\column { %%start page column 3		
 
	   \hspace #0.2 % adds vertical spacing between verses
	   \line { "3  "
             \column { 
		     "What profited this great offence?"
		     "What use was Herod's violence?"
		     "A Babe survives that dreadful day,"
		     "And Christ is safely borne away."    
	   }}
	    \hspace #0.2 % adds vertical spacing between verses
           \line { "4. "
             \column {    
		     "All honour, laud, and glory be,"
		     "O Jesu, virgin-born, to thee;"
		     "All glory, as is ever meet"
		     "To Father and to Paraclete."
		     "                                                  Amen."
	   }}   
	  } %% end column 3
	  } %% master line bracket
	  
          } %% page super column bracket
} %%markup bracket

	
} %%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 21:34, 28 May 2007 (PDT)

  • For this piece, I used the keep/removeWithTags feature to generate separate midi for Tune and Amen.
  • This is one of those situations where I have a dilemma about fitting everything into one page with 2 columns, or using 2 pages, with an orphaned 2 verses on the second page.
  • For letter-size, clearance at the top is adequate I think, but what about the bottom?

QMacrocarpa 10:29, 29 May 2007 (PDT)

  • Top and bottom margins seem ok in letter size (with GhostView).
  • Mid-page theme header is slightly different from the one on 087.png: 087 has just "INNOCENTS' DAY" with no initial "THE." Not sure which we should go with, but should probably have them match. I guess I lean toward sticking with top-of-page version in cases where header versions disagree slightly, since usually more instances of top-of-page version.
  • Third system: first note in bass should be low G instead of high G.
  • Missing "." after Latin above lyrics.
  • Lyrics, verse 2, line 1: should be "Martyr bands" instead of "Martyr hands"
  • Lyrics, verse 4, line 1: should be "All honour" instead of "All Honour"

Jkenny 21:36, 29 May 2007 (PDT)

  • Agree with "Innocent's Day", removed "The"
  • All fixed.

stygiania 00:00, 30 May 2007 (PDT)

  • Bottom margin (printed, letter) measures 0.75".
  • Tune name should be SARRATT instead of BARRATT (confirmed w/index).

Jkenny 03:56, 30 May 2007 (PDT)

  • Fixed.

QMacrocarpa 09:22, 31 May 2007 (PDT)

  • Looks good! Ready to go.

Lily3 cleared, files uploaded stygiania 17:38, 31 May 2007 (PDT)

Revision Notes by Jkenny 05:00, 9 August 2007 (PDT)

  • updated code by adding more comments and making layout similar to latest stlye.
  • music was untouched.
  • slight adjustments made to placements of lyric titles.
  • Lyric text was untouched.
  • This becomes version 2

Project History

    • Lily1 - done stygiania 00:40, 27 May 2007 (PDT) (plain text + lyrics)
    • Lily2 - done by Jkenny 21:35, 28 May 2007 (PDT)
    • Lily3 - comments added QMacrocarpa 10:31, 29 May 2007 (PDT)
- fixed. Jkenny 21:36, 29 May 2007 (PDT)
- One last thing stygiania 00:01, 30 May 2007 (PDT)
- fixed. Jkenny 03:58, 30 May 2007 (PDT)
- Looks ready to go! QMacrocarpa 09:23, 31 May 2007 (PDT)
- Lily3 cleared, files uploaded stygiania 17:38, 31 May 2007 (PDT)
    • Version 2 uploaded to repository