The English Hymnal - Wiki Music Experiment/057

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

%%%057.png
%%%18 St. Venantius (L. M.) "From east to west, from shore to shore"
%%%Version 6 057png-H18-v6.ly


\version "2.10"

\header {
  dedication = \markup { \center-align { "THE CHRISTIAN YEAR - CHRISTMAS"
		\hspace #0.1 }}	
  title = \markup { \line { \center-align {"18"} \large \smallCaps {"(Modern Tune)"}}}
  poet = \markup { \column { \line { \sans \small {"ST. VENANTIUS."} \hspace #1 \roman \small {"(L. M.)"}} }}
  meter = \markup { \small { \italic {"In moderate time"} \fontsize #-5 \general-align #Y #DOWN \note #"4" #1 = 144. } }
  arranger = \markup { \italic \small {"Rouen Church Melody."}  }
  piece = \markup { \italic \small {"    To be sung in unison."}  }
  tagline =""
}  %% close header


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

nbbar = { \bar "|" \noBreak } %%macro to generate a nobreak bar

soprano = \relative c' {  
  \partial 4 f4 \nbbar a( c) bes \nbbar a( g) a \nbbar f2 g4 \nbbar a2 \bar "||" \noBreak c4 \nbbar d( c) bes \bar "|" \break
  a( bes) c \nbbar c( bes) a \nbbar g2 \bar "||" \noBreak g4 \nbbar bes( a) g \nbbar f( d) e \bar "|" \break
  f( e4.) d8 \nbbar c2 \bar "||" \noBreak g'4 \nbbar a( f) bes \nbbar a( g) <f a,>4 \nbbar e2 f4 \nbbar f2 \bar "||"
}

alto = \relative c' {
  \partial 4 c4 \nbbar f2( <f d >4) \nbbar <f c >4 ~ <e c >2 \nbbar <d a >2 <e c >4 \nbbar <f c >2 \bar "||" \noBreak <a f >4 \nbbar <bes f >4  <g e >4 ~ <g d >4 \bar "|" \break
  <f d >2 <g e >4 \nbbar <f c >4 <f d >2 \nbbar <d bes >2 \bar "||" \noBreak <e c >4 \nbbar 
      \once\override Tie  #'control-points = #'(( 1.6 . -2.8 )( 4 . -4 ) ( 9 . -4 )(11.6 . -2.8 ))
      <f d >2 ~ 
      \once\override Tie  #'control-points = #'(( 1.8 . -2.8 ) ( 3.6 . -4 ) ( 6 . -4 ) (8 . -2.8 ))
      <d bes >4 ~ \nbbar <d a >4 s2 \bar "|" \break
  s2. \nbbar s2 \bar "||" \noBreak \override TieColumn #'tie-configuration = #'((-3.0 . 1) (-6.5 . -1)) <e c >4 ~ \nbbar <e c >4 d2 \nbbar <f c >4 d s4 \nbbar \tieUp c2 ~ <c a >4 \nbbar <c a >2 \bar "||"
}

tenor = \relative c { \clef bass
  \partial 4 a'4 \nbbar c( a) s \nbbar s c, a \nbbar s2 c4 \nbbar s2 \bar "||" \noBreak s4 \nbbar bes c s \bar "|" \break
  s2 c4 \nbbar a bes s \nbbar s2 \bar "||" \noBreak c4 \nbbar bes s2 \nbbar s4 <f' a >4  <g c~ >4 \bar "|" \break
  <c a >4 <c g >4. \tieDown <b g~ >8 \nbbar <g e >2 \bar "||" \noBreak c,4 \nbbar s4 f g \nbbar s4 \override Accidental #'transparent = ##t bes f \nbbar g2 f,4 \nbbar f2 \bar "||"
}

bass = \relative c { \clef bass
  \partial 4 f4 \nbbar f2 bes,4 \nbbar f' s2 \nbbar d s4 \nbbar f2 \bar "||" \noBreak f4 \nbbar s2 g4 \bar "|" \break
  d2 s4 \nbbar s2 d4 \nbbar 
      <<  { \voiceTwo g2 } 
    \new Voice = "pedals" {\once \override NoteColumn #'force-hshift = #0.1 \voiceFour \set fontSize = #-3 g,2  }  >>
  \bar "||" \noBreak s4 \nbbar s d' g \nbbar d2 c4 \bar "|" \break
  f, c'4. g8 \nbbar c2 \bar "||" \noBreak s4 \nbbar a d g, \nbbar a bes d \nbbar c2 s4 \nbbar s2 \bar "||"
}

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

\paper {
  #(set-paper-size "a4")
  top-margin = 3\mm
  bottom-margin = 5\mm
  print-page-number = ##f
  between-system-space = #0.1
  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 144 4)
            }
       }
	
} %%score bracket

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

          \column {
	%%next line is for attributions	  
	  \hspace #1
	  \line { \hspace #1.0 \small { \smallCaps {"Office Hymn. M., E."} \hspace #45 \italic {"Coelius Sedulius, c. 450.  Tr. J. Ellerton."}} }
	  \line { \hspace #43 \small {"A solis ortus cardine."} }   
	  \line { \hspace #0.2 }    
          \column { 
		  \line { \hspace #31.5 \column { \lower #2.4 \fontsize #8 "F" }   %%Drop Cap goes here
			 \hspace #-1.0    %% adjust this if other letters are too far from Drop Cap
			\column  { \raise #0.0 "ROM east to west, from shore to shore," "Let every heart awake and sing"} }          
	          \line { \hspace #32.0  %%adjust hspace until this line left edge is flush with Drop Cap
			\lower  #1.56  %%adjust this until the line spacing looks right
			\column {   
				"The holy Child whom Mary bore," 
				"    The Christ, the everlasting King."
			  		}}
	           } %% finish stanza 1

	   \hspace #0.1 % adds vertical spacing between verses
           \line { \hspace #28.8 "2  "
             \column {	     
			       "Behold, the world's Creator wears" 
			       "    The form and fashion of a slave;" 
			       "Our very flesh our Maker shares," 
			       "    His fallen creature, man, to save." 
	   }}	   
  } %% fill-line bracket
 }  %% column-bracket
} %% markup bracket
	   
%%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.6   %%add space as necc. to center the column  
	 \fill-line { 
           \column {
            \line { "3  "
             \column { 
				"For this how wondrously he wrought!"
				"    A maiden, in her lowly place,"
				"Became in ways beyond all thought,"
				"    The chosen vessel of his grace."  
	   }}
	  \hspace #0.1 % adds vertical spacing between verses   
          \line { "4  "
             \column {	     
				"She bowed her to the Angel's word" 
				"    Declaring what the Father willed," 
				"And suddenly the promised Lord" 
				"    That pure and hallowed temple filled."
	   }} 
	  \hspace #0.1 % adds vertical spacing between verses   
          \line { "5  "
             \column {	     
				"He shrank not from the oxen's stall," 
				"    He lay within the manger-bed," 
				"And he, whose bounty feedeth all," 
				"    At Mary's breast himself was fed." 
	   }} 
	  \hspace #0.1 % adds vertical spacing between verses   
          \line { "6  "
             \column {	     
				"And while the Angels in the sky"
				"    Sang praise above the silent field,"
				"To shepherds poor the Lord most high,"
				"    The one great Shepherd, was revealed."
	   }} 
	  \hspace #0.1 % adds vertical spacing between verses   
          \line { "7. "
             \column {	     
		     "All glory for this blessèd morn" 
		     "    To God the Father ever be;" 
		     "All praise to thee, O Virgin-born," 
		     "    All praise, O Holy Ghost, to thee.  Amen." 
	   }} 

	  }
    }	  
}

%% Amen score block
\score{
		
	
 \new ChoirStaff
 <<
 \context Staff = upper \with { fontSize = #-3  \override StaffSymbol #'staff-space = #(magstep -2) }  
                      << 
 \context Voice = "sopranos" { \relative c' {        
	%%%%                           \overrideProperty #"Score.NonMusicalPaperColumn"
        %%%%                                  #'line-break-system-details #'((Y-offset . 135)
        %%%%                                                (alignment-offsets . (0 -5.4 -11.6)))
                                                  \global \time 5/1 \voiceOne  f1( g1 f1 e1) f1 \bar "||" }}
	\context Voice = "altos" { \relative c' {   \global \time 5/1 \voiceTwo <d a >1 <d bes >1 <c a >1 <c g >1 <c a >1 \bar "||" }}
	 		>>
			 
	\context Lyrics \lyricsto "altos" {  \override LyricText #'font-size = #-1 A1 -1 -1 -1 men.1 }
	
	\context Staff = lower \with { fontSize = #-3  \override StaffSymbol #'staff-space = #(magstep -2) } 
	                 <<
	\context Voice = "basses" { \relative c {  \global \clef bass \time 5/1 \voiceFour d1 g,1 a1 c1 f,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 144 4) }}  %%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 Lily2 stygiania 20:57, 16 May 2007 (PDT)

  • Should I move a couple verses to page 1 or leave them all on page 2? No way the whole thing will fit on one page since this one has two more verses than 091.png.
  • This one has the same "droopy" tie problem in system 2 alto lines as 091.png.

Comments by Jkenny 08:50, 17 May 2007 (PDT)

  • Should the "Rouen Church Melody." move down to be nearer the staff, on the same line as "To be sung in unison."?
  • I've got an idea on the droopy ties, using a command called control-points. I used it earlier on to control the shape of that dotted slur. I will put up a snippet on that in the wiki first. Give me half a day to come back with a fix for the droopy tie.
  • For lyrics, I suggest put some verses on page 1. A suitable layout might be:
  1     |    3
        |
  2     |    4 
 
force page break (using a fake score)
         
        5    

        6
         
        7.

                  Amen block
  • I like the hyphen spacer solution for the Amen.

Further Notes Jkenny 09:37, 17 May 2007 (PDT)

  • I've added 2 lines of \once \override Tie #'control points to the code. Take a look. I think this worked. Please adjust the numbers to taste. There are 4 pairs of coordinates. The first is the start of the tie, the 4th the end. The first number of the pair is the X-coordinate, the second is the Y-coordinate, 0 being the centre or 3rd line of the staff. -2.5 to -2.8 would be around the height of the "d". Are those 2 the only droopy ties here?

Notes from L2 stygiania 15:02, 17 May 2007 (PDT)

  • Thanks for the "droopy tie" solution. {thumbs-up} I'll copy it over to 091.png also.
  • Re: "Rouen Church Melody.": According to my trusty straight-edge, the original (both 057.png and 091.png) placed this on a separate line vertically spaced between the flush-left lines. Contextually it belongs on the upper of the two based on the way the other hymns have been coded. I suppose I could increase the font one size so there wouldn't be so much white space on that side, but not certain that would really help much.
  • Just went with a simple 1-column approach on the verses. Since it was going to run to two pages anyway, why skimp and make 2 columns?

Further comments by Jkenny 09:36, 18 May 2007 (PDT)

  • I agree on the position of the Rouen Church Melody.
  • There is rather a lot of white space above the lyrics at the top of page 2. To reduce that, set breakbefore = ##f in the fake score block. That's what I have been doing in other pieces. But now we might find the lyrics on page 2 pretty high up. We haven't standardized, but do we want the stuff on page 2 to be fairly far down or fairly high up?
  • I noticed the attribution line for the author of the lyrics is set to \small font and also the title (e.g. in Latin or Greek). I have not been doing that. The Latin titles I have set to \small, but not the author attribution line. Maybe we should standardize. Should we set the author to \small or leave it at the default font size?
  • Other than these standardization questions, I have no other comments, and I think this piece is good to go.

v4 code loaded stygiania 10:29, 18 May 2007 (PDT)

  • removed \small from attribution line of lyrics
  • set breakbefore = ##f for fake score block
  • moved proofer error/typo info to Proofing errors page.

QMacrocarpa 14:55, 18 May 2007 (PDT)

  • Looks good! I think it's ready to be cleared, except for lingering font size disquiet....
  • I favor setting the <sc>Office Hymn...</sc> and lyrics attribution to \small along with the Latin, because it seems to match what I've seen on the page. Are there pages where that isn't the case? ::Sigh:: but I don't know why I'm suddenly all fuss-budget-y about the font sizes, I never even noticed this issue before. Not used to pondering font-size issues while proofing, I guess! ::eyes crossing from the strain::
  • Added later-- also, I guess we should consider the font sizes used above music as well. It looks like we are not using \small on composers, so maybe we should just not use \small anywhere? I would be okay with that. See also notes on 091
  • Oh, also, I think the placement of the lyrics on the second page looks fine. But another good thing to think of standardizing!

Now weighing in stygiania 17:16, 18 May 2007 (PDT)

  • I confess I've been using my transparent journalism ruler to help decide which items are what (comparative) font size within a page. Complicating things on this hymn (and its companion 091) is the fact that the "To be sung in unison" line in the header is larger than the tempo marking and composer line on the scan. Another page for comparison--The M's of "Mechlin Melody" and "Mode viii." are taller than the M's of the italic Mechlin and (L. M.). Unfortunately, I can't get a good page-to-page comparison because of slight differences between scans--only those who have a physical copy of the text will have a shot at this.

Adding further to the confusion Jkenny 18:02, 18 May 2007 (PDT)

  • The problem is we can't guarantee the 1933 edition has the same "look" as the 1906, nor even if it is printed on the same size of paper. I have not seen a physical copy of the 1906.
  • For what it's worth, on the 1933 edition, lyrics and church year theme are the same size, everything else looks like 1 size smaller.
  • I started a discussion here, please join me there: Talk:The_English_Hymnal_-_Wiki_Music_Experiment/Lilypondguide#Font_Sizes

v5 code added stygiania 16:41, 20 May 2007 (PDT)

  • All text set to \small except dedication, title, and lyrics.
  • New Amen block code style used.

QMacrocarpa 13:52, 21 May 2007 (PDT)

  • Last quibble-- on another piece I just looked at, the tempo marking ("[1/4] = 144." here) was also \small. See 093


Jkenny 19:14, 21 May 2007 (PDT)

  • Yes, the tempo marking (numbers and note) should be \small.
  • The problem arises because \small ropes in only the nearest complete string or expression. To make it work on the whole sentence, move it outside and give it a set of braces. Replace:
 meter = \markup { \italic \small {"In moderate time"} \fontsize #-5 \general-align #Y #DOWN \note #"4" #1 = 144. }

with

 meter = \markup { \small { \italic {"In moderate time"} \fontsize #-5 \general-align #Y #DOWN \note #"4" #1 = 144. } }

v6 loaded by stygiania 21:11, 21 May 2007 (PDT)

  • ok, fixed the \small code in meter (and condensed it in lyrics attribution).

QMacrocarpa 10:05, 22 May 2007 (PDT) This baby is cleared!

Jkenny 18:06, 22 May 2007 (PDT)

  • These three lines of code need not be there as they do absolute vertical placement of the amen block which is not necessary in this case, and they make the amen block go too far to the bottom right. I have commented the code out. Q can you recompile and reload please. You can remove the commented lines totally, or simply leave them commented out.
\overrideProperty #"Score.NonMusicalPaperColumn"
                                     #'line-break-system-details #'((Y-offset . 135)
                                                     (alignment-offsets . (0 -5.4 -11.6)))

QMacrocarpa 13:08, 23 May 2007 (PDT)

  • Done! :)

Project History

    • Lily1 - done by stygiania 08:08, 15 May 2007 (PDT) (midi--SATB part chosen based on stem direction)
    • Lily2 - v2 code done by stygiania 20:58, 16 May 2007 (PDT)
    • Lily3
        - note added by Jkenny 08:51, 17 May 2007 (PDT) 
        - v3 code added by stygiania 15:03, 17 May 2007 (PDT)
        - piece can be cleared but I added some questions on standardization of font sizes etc. Jkenny 09:40, 18 May 2007 (PDT) 
        - v4 code added by stygiania 10:30, 18 May 2007 (PDT) (fixed font sizes, etc.) 
        - Comments added --QMacrocarpa 14:57, 18 May 2007 (PDT) 
        - More confuzzling stygiania 17:17, 18 May 2007 (PDT)
        - And more Jkenny 18:04, 18 May 2007 (PDT) 
        - v5 code added by stygiania 16:43, 20 May 2007 (PDT) to standardize fonts and use new Amen code. 
        - One last dinky comment --QMacrocarpa 13:54, 21 May 2007 (PDT) 
        - v6 code (please let this be the last!) Lily3 Comments, please 
        - Lily3 Cleared and files uploaded! :) --QMacrocarpa
        - Q, this needs to be recompiled and reloaded, without the absolute vertical placement of the amen block. Done! --Q