The English Hymnal - Wiki Music Experiment/033

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.

Midi file here: midi file


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

%%% 033.png
%%% Hymn 3 Alternative Version "Behold the Bridegroom cometh"
%%% Version 3 Reset Fonts.


\version "2.10.19"


\header {
	dedication = \markup { \center-align { "THE CHRISTIAN YEAR - ADVENT"
		\hspace #0.1
	                                     }}
	title="3"
	arranger = \markup { \small { \smallCaps "Tallis'" \italic "Original Version."} }
	subtitle=\markup { \smallCaps "Alternative Version" "(melody in the tenor)"}
	tagline = ""
}


noacci = \once \override Accidental #'transparent = ##t

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

soprano = \relative c' { \once \override Staff.TimeSignature #'stencil = ##f
 \partial 1 e1 | g2 fis2 e2 e2 | e2 dis2 e2 g2 | fis2 e2 e2 dis!2 | e1 b'2\rest \bar "||" g2 | \break
 c2 b2 a2 a2 | a2 gis2 a2 c2 | b2 a2 a2 gis!2 | a1 b2\rest \bar "||" fis2 | \break
 b2 a2 d,2 \noacci g2 | g2 fis2 g2 b2 | a2 g2 g2 fis2 | g1 b2\rest \bar "||" g2 | \break
 d2 e2 fis2 a2 | g2 fis4( e4)  dis2 e2 | \time 3/1 g2 fis2. e4 e1 dis2 | e1 \bar "||" 
}

alto = \relative c' { \once \override Staff.TimeSignature #'stencil = ##f
 b1 | b2 b2 b2 a2 | b2. b4 b2 b2 | b2 g4( a4) b2 b2 | b1 s2 \bar "||" e2 | 
 e2 e2 e2 e2 | e2 e2 e2 e2 | e2 c4( \noacci d4) e2 e2 | e1 s2 \bar "||" d2 | 
 d2 d2 d2 c2 | d2 d2 d2 d2 | d2 b4( c4) d2 d2 | d1 s2 \bar "||" b2 |
 b2 b2 d2 d2 | b2 b2 b2 b2 | g2 \noacci d'2 b1. b2 | b1 \bar "||" 
}

tenor = \relative c { \clef bass \once \override Staff.TimeSignature #'stencil = ##f
 e1 | e2 fis2 g2 e2 | fis2. fis4 e2 e2 | d2 e2 fis2 fis2 | e1 d2\rest \bar "||" e2 |
 a2 b2 c2 a2 | b2 b2 a2 a2 | g2 a2 b2 b2 | a1 d,2\rest \bar "||" d2 | 
 g2 a2 b2 g2 | a2 a2 g2 g2 | \noacci fis2 g2 a2 a2 | g1 d2\rest \bar "||" g2 |
 fis2 g2 a2 fis2 | g2 g2 fis2 e2 | e2 d2 e1 fis1 | e1 \bar "||" 
}

bass = \relative c { \clef bass \once \override Staff.TimeSignature #'stencil = ##f
 \once \override NoteColumn #'force-hshift = #0.02 e1 | e2 d2 e2 c2 | b2. b4 e2 e2 | b2 c2 b2 b2 | 
     \once \override NoteColumn #'force-hshift = #0.02 e1 s2 \bar "||" e2 | 
 a,2 gis2 a2 a2 | e'2 e2 a,2 a2 | e'2 f2 e2 e2 | a,1 s2 \bar "||" d2 | 
 \noacci g,2 d'2 g2 e2 | d2 d2 g,2 g2 | d'2 e2 d2 d2 | g,1 s2 \bar "||" e'2 |
 b2 e2 d2 d2 | e2 e2 b2 e2 | b'2. a4 \slurUp \once\override Slur  #'control-points = #'(( 1 . 2.3 ) ( 2.5 . 2.5 ) ( 4.8 . 2 ) (7.2 . 1.2 ))  g2( 
            \slurUp \override Slur #'line-thickness = #'2.5  
            \once\override Slur  #'control-points = #'(( 1.6 . 0.8 ) ( 3.5 . 0.5 ) ( 4.4 . 0 ) (5.6 . -0.5 )) 
            \slurDotted e2)( b1) | \once \override NoteColumn #'force-hshift = #0.02 e1 \bar "||" 
}

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

\paper {
  #(set-paper-size "a4")
  top-margin = 1\mm
  bottom-margin = 2\mm
  between-system-padding = 2\mm
  before-title-space = 0\mm
  after-title-space = 1.5\mm
  print-page-number = ##f
  between-system-space = #0.5
  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 69 2)
            }
       }	
}

\markup { ""}  %%spacer

\markup{ \hspace #12
  \override #'(line-width . 81)
  \justify{ \small {"    [" \italic { This version may be used, in connexion with the other, for one or more verses; it is
intended for the \upright \smallCaps "choir alone" and must be sung without the organ. " "This version should
only be attempted by good choirs. \upright "]" } } } }

\markup { \column { \line{ \hspace #0.2 } \line{ \small {\hspace #28 \smallCaps "'Kingsfold'" \italic "(No. 574) is also suitable to this hymn."} } } }

\markup {  \hspace #0  %%add space as necc. to center the column
       \fill-line { 

          \column {
	%%next line is for attributions	  
	  \hspace #1
	  \line { \hspace #36 \small \italic "Horologion.  c. 8th cent.  Tr. G. Moultrie."}
		  \hspace #0.2
		  \line { \small {\hspace #20 "Ἰδοὺ ὀ Νυμφἱος ἔρΧεται.  [Idou o Numphios erchetai.]"} }
	  \hspace #0.2          
          \column {
		  \line { \hspace #2.2 \column { \lower #2.4 \fontsize #8 "B" }   %%Drop Cap goes here
			 \hspace #-1.0    %% adjust this if other letters are too far from Drop Cap
			\column  { \raise #0.0 "EHOLD the Bridegroom cometh in the middle of the night,"
                                               "  And blest is he whose loins are girt, whose lamp is burning bright;" } }          
	          \line { \hspace #2.7  %%adjust hspace until this line left edge is flush with Drop Cap
			\lower  #1.56  %%adjust this until the line spacing looks right
			\column {   
				"But woe to that dull servant, whom the Master shall surprise"
				"With lamp untrimmed, unburning, and with slumber in his eyes."
			  		}}
	           } %% finish stanza 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 = " " opus = " " }
\layout{
\context { \Staff
\remove Time_signature_engraver
\remove Key_engraver
\remove Clef_engraver
\remove Staff_symbol_engraver
}}}

%%second page	

\markup { \hspace #0   %%add space as necc. to center the column  
	 \fill-line { 

          \column {
	   \hspace #0.1 % adds vertical spacing between verses   	  
           \line { "2  "
             \column {	     
		     	"Do thou, my soul, beware, beware, lest thou in sleep sink down,"
			"Lest thou be given o'er to death, and lose the golden crown;"
			"But see that thou be sober, with a watchful eye, and thus"
			"Cry—'Holy, holy, holy God, have mercy upon us.' "
	   }}
	   \hspace #0.1 % adds vertical spacing between verses  
           \line { "3  "
             \column { 
		     "That day, the day of fear, shall come; my soul, slack not thy toil,"
		     "But light thy lamp, and feed it well, and make it bright with oil;"
		     "Who knowest not how soon may sound the cry at eventide,"
		     "'Behold, the Bridegroom comes! Arise! Go forth to meet the bride.'"  
	   }}
	  
	   \hspace #0.1 % adds vertical spacing between verses   
          \line { "4. "
             \column {	     
		     "Beware, my soul; beware, beware, lest thou in slumber lie,"
		     "And, like the Five, remain without, and knock, and vainly cry;"
		     "But watch, and bear thy lamp undimmed, and Christ shall gird thee on"
		     "His own bright wedding-robe of light—the glory of the Son."
	   }}
	  }
    }	  
}

%% 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 e1 e1 \bar "||" }}
	\context Voice = "altos"    { \relative c' { \clef treble \global \voiceTwo c1 b1 \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 a'1 gis1 \bar "||" }}
	\context Voice = "basses" { \relative c { \clef bass \global \voiceFour  a1 e'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 69 2) }}  %%Amen midi 

} 	

} %% 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 L2 Jkenny 07:36, 14 May 2007 (PDT)

  • A complex piece. The dotted line in bass is produced with a dotted slur. In previous pieces, we have noted that the dots may not show correctly in some PDF viewers, although they work fine in Adobe reader and Ghostview.
  • Please comment on the curvature of the dotted line and the solid slur beofre it. Should they be straight or slightly curved? A bit tricky, so I am prepared to fine-tune the shape of the lines.
  • Notes say "must be sung without the organ" but I left the midi at church organ.
  • Text: Italics. I italicised the square brackets using the rule that the entire [This version may be ... good choirs.] is a complete section. The words "CHOIR ALONE" are in full cap. This appears to be a situation where the printer could have used italic full caps but did not. Therefore he probably had some reason for this. May be, by reversing from italics to upright, he wanted to further emphasize the two words within a block of already emphasized text. I thus opted to match the image here.

Comments by stygiania 14:40, 14 May 2007 (PDT)

  • The dotted line in the bass looks good to me. You might want to add that trick to the code snippets page.
  • Leaving the midi in organ makes sense.
  • I debated on the italicising of brackets on 14 (Modern) and thought they looked strange since I can't recall ever seeing such in print. We should probably standardize this. Opinions, everyone?
  • The words "CHOIR ALONE" should be all small caps not all full caps.
  • The original shows no terminal punctuation at the end of verse 4. Somehow I missed this fact when reviewing 032.png.
  • Remove second barline in fourth system and change final bar to double bar.

Comments by QMacrocarpa 15:48, 14 May 2007 (PDT):

  • Dotted line looks good in GhostView and xpdf, not so good in gpdf. I don't know what else we can do though-- in the instances in Rudiments of Music where this came up, a regular slur was an acceptable substitute because it really was representing a super-long slur, but not here where the notes at either end of dashed lines are on different words. Stick with the dotted line.
  • gpdf also doesn't display the 3 of the 3/1 time signature very well. Odd. Fine with other two viewers. Maybe I need to install some additional fonts...
  • I don't have a strong opinion about italicizing the brackets. I suppose if we italicize parentheses at the edges of italic context it's consistent to do brackets in similar situations. Either way, should standardize and note the decision somewhere for future reference.
  • I like the transliteration! :)
  • A glance at the concatenated text file suggests that final punctuation at end of lyrics is generally included, so perhaps a typo here that should be fixed.
  • And if we want to fix it here-- also fix in 032.png?

Replies by Jkenny 20:03, 14 May 2007 (PDT)

  • Fixed last verse punctuation.
  • Fixed bars.
  • Rendered "CHOIR ALONE" in \smallCaps but left it \upright to match image (it does serve to emphasize the phrase, which I think was printer's intention.
  • Posted question about italicizing brackets or parentheses in forum. Let's await Dani's response--he responded that we should leave them upright (match image).
  • If we correct stuff that causes a departure from the image, should we highlight it somewhere so that Dani doesn't need to go through all our discussion to find it? I created a section below called "Differences Between Image and lilypond" where we can put everything we corrected, or couldn't reproduce in Lilypond.

Lily3 Cleared, files uploaded stygiania 20:54, 15 May 2007 (PDT)


Record of Work

    • Lily1 - done by stygiania (Cakewalk midi, church organ)
    • Lily2 - done by Jkenny 07:37, 14 May 2007 (PDT)
    • Lily3 - comments added stygiania 14:43, 14 May 2007 (PDT) More opinions please!
- comments added QMacrocarpa 15:50, 14 May 2007 (PDT)
- fixed issues, awaiting PPer's directions on italics square brackets. Jkenny 20:08, 14 May 2007 (PDT)

Lily3 cleared stygiania 20:59, 15 May 2007 (PDT)

    • Reset font sizes to Proposal 3 conventions.

Differences between Image and Liliypond

  • Corrected typo by adding punctuation to end of last verse.
  • Added transliteration of Greek letter.