The English Hymnal - Wiki Music Experiment/096

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, 096.png, Hymn #43.
%%% Format=ABC
%%%

X: 19
T: Dundee. (C. M.)
C: Scottish Psalter, 1615, as given in Ravenscroft's Psalter, 1621.
M: 4/2
L: 1/2
Q: 1/2=66
K: Eb
V:1 staves=4
%%MIDI transpose 0
E2|GABE|FGA2||G2|
FEED|E2||B2|edcB|
B=AB2||G2|FEED|E2||
%
V:2
%%MIDI transpose 0
B,2|EEB,B,|_DDE2||E2|
DCCB,|B,2||E2|GFED|
CCD2||B,2|C(G,/A,/)B,B,|B,2||
%
V:3 clef=bass
%%MIDI transpose -24
g2|bc'fg|abc'2||b2|
bgaf|g2||g2|bbgf|
gff2||g2|aeff|g2||
%
V:4 clef=bass
%%MIDI transpose -24
e2|ecde|_dBA2||e2|
BcAB|e2||e2|eBcd|
efB2||e2|AcBB|e2||

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% The English Hymnal, 096.png, Hymn #43.
%%% Format=ABC
%%%
%%% Amen only.

X: 20
T: 
C: 
M: 4/2
L: 1/2
Q: 1/2=66
K: Eb
V:1 staves=4
%%MIDI transpose 0
E2E2||
%
V:2
%%MIDI transpose 0
C2B,2||
w:A-men
%
V:3 clef=bass
%%MIDI transpose -24
a2g2||
%
V:4 clef=bass
%%MIDI transpose -24
A2e2||

Lyrics copied from P3 and perl-formatted--QMacrocarpa 19:38, 20 May 2007 (PDT):

"The race that long in darkness pined"
"    Have seen a glorious light;"
"The people dwell in day, who dwelt"
"    In death's surrounding night."
""
"To hail thy rise, thou better Sun,"
"    The gathering nations come,"
"Joyous as when the reapers bear"
"    The harvest-treasures home."
""
"To us a Child of hope is born,"
"    To us a Son is given;"
"Him shall the tribes of earth obey,"
"    Him all the hosts of heaven."
""
"His name shall be the Prince of Peace,"
"    For evermore adored;"
"The Wonderful, the Counsellor,"
"    The great and mighty Lord."
""
"His power increasing still shall spread;"
"    His reign no end shall know:"
"Justice shall guard his throne above,"
"    And peace abound below."
""

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

%%%096.png
%%%Hymn 43 Dundee "The race that long in darkness pined"
%%%Version 4

\version "2.10"

\header {
  dedication = \markup { \center-align { "THE CHRISTIAN YEAR - THE EPIPHANY"
		\hspace #0.1 }}	
  title = "43"
  
  meter = \markup {  \small { \column {  \line { \sans {"DUNDEE."} \hspace #1 \roman {"(C. M.)"}}
                                        \line { \italic {Moderately slow} \fontsize #-5 \general-align #Y #DOWN \note #"2" #1 = 66.}}}}   
  
  arranger =  \markup {  \small \center-align {
		            \line{ \italic {"Scottish Psalter, 1615, as given in" } }
			    \line { \italic { "Ravenscroft's Psalter, 1621."}}}}
  tagline =""
}


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

%%% barline which forbids linebreaks

nbbar = {\bar "|" \noBreak }

%%% macro to specify a partial measure in the middle of a piece.
%%% Manual does not recommend using \partial in the middle of a piece.
%%% In this case, the macro specifies that 2 1/2 notes in a 4/2 measure have past,
%%% hence we are halfway through the measure
halfmeasure =  \set Score.measurePosition = #(ly:make-moment 2 2)

%%%%%%%%%%%%%%%%%%%%%%%%%% End of Macro definitions	   
	      
%%% SATB voices

soprano = \relative c' {
  \partial 1 ees1 | g2 aes2 bes2 ees,2 | f2 g2 aes1 \bar "||" \halfmeasure g1 \bar "|" \break
  f2 ees2 ees2 d2 | ees1 \bar "||" bes'1 | ees2 d2 c2 bes2 | \break
  bes2 a2 bes1 \bar "||" g1 | f2 ees2 ees2 d2 | ees1 \bar "||" 
}

alto = \relative c' {
  bes1 | ees2 ees2 bes2 bes2 | des2 des2 ees1 \bar "||" ees1 | 
  d2 c2 c2 bes2 | bes1 \bar "||" ees1 | g2 f2 ees2 d2 | 
  c2 c2 d1 \bar "||" \halfmeasure bes1 | c2 g4 ( aes4 -) bes2 bes2 | bes1 \bar "||" 
}

tenor = \relative c { \clef bass
  g'1 | bes2 c2 f,2 g2 | aes2 bes2 c1 \bar "||" bes1 | 
  bes2 g2 aes2 f2 | g1 \bar "||" g1 | bes2 bes2 g2 f2 | 
  g2 f2 f1 \bar "||" g1 | aes2 ees2 f2 f2 | g1 \bar "||" 
}

bass = \relative c { \clef bass
  ees1 | ees2 c2 d2 ees2 | des2 bes2 aes1 \bar "||" ees'1 | 
  bes2 c2 aes2 bes2 | ees1 \bar "||" ees1 | ees2 bes2 c2 d2 | 
  ees2 f2 bes,1 \bar "||" ees1 | aes,2 c2 bes2 bes2 | ees1 \bar "||" 
} 
  
global = {
  \time 4/2 
  \key ees \major 
  \set Staff.midiInstrument = "church organ"
}


#(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 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)
            }
       }
	
} %%score bracket


%%% Lyric titles

\markup { \hspace #16 \small \italic {"Suitable till Septuagesima." \hspace #18   "J. Morison, 1749-98 (Scottish Paraphrases)." } }

%%% Lyrics

\markup { \hspace #34 %%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.2    %% adjust this if other letters are too far from Drop Cap
				  \column  { \raise #0.0 "HE race that long in darkness pined" "  Have seen a glorious light;" } }          
	                  \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 {   
					   "The people dwell in day, who dwelt"
					   "    In death's surrounding night."
			  		}}
			       
			           } %% finish verse 1	
		       \hspace #1 
           		\line { "2  "
			   \column {	     
				   "To hail thy rise, thou better Sun,"
				   "    The gathering nations come,"
				   "Joyous as when the reapers bear"
				   "    The harvest-treasures home."
			}}
			\hspace #1 % adds vertical spacing between verses
           		\line { "3  "
			  \column {	     
				  "To us a Child of hope is born,"
				  "    To us a Son is given;"
				  "Him shall the tribes of earth obey,"
				  "    Him all the hosts of heaven."
			}}
					
	}  
}
  
	
%%second page
%%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 #34   %%add space as necc. to center the column
          \column { 
		\hspace #1 % adds vertical spacing between verses  
           	\line {"4  "
		    \column {	     
				   "His name shall be the Prince of Peace,"
				   "    For evermore adored;"
				   "The Wonderful, the Counsellor,"
				   "    The great and mighty Lord."
			}}  
		\hspace #1 % adds vertical spacing between verses
           	\line { \hspace #-10  \italic "Unison."  "  5. "
		   \column {	     
				  "His power increasing still shall spread;"
				  "    His reign no end shall know:"
				  "Justice shall guard his throne above,"
				  "    And peace abound below."
     			}}
	  }
}% lyric markup bracket

%% 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 ees1 ees1 \bar "||" }}
	\context Voice = "altos"    { \relative c' {  \clef treble \global \voiceTwo c1 bes1 \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 aes'1 g1 \bar "||" }}
	\context Voice = "basses" { \relative c { \clef bass \global \voiceFour  aes1 ees'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 L2 Jkenny 02:24, 26 May 2007 (PDT)

  • Tried 2 columns - made it into 1 page, but when recompiled on letter size, it became a squeeze, and Amen got orphaned.
  • So opted for 1 column, and left generous space at end of 1st page. Test compiled on both A4 and letter indicated both were comfortable.
  • All margins at default settings.

Comments by stygiania 19:52, 26 May 2007 (PDT)

  • Arranger line: "Ravencroft's" should be "Ravenscroft's"
  • The lyrics showing as stanza 3 should be stanza 2. Lyrics for 3 are missing. Stanzas 1, 4, and 5 are correct.
  • Are we going to use the default midi voice from now on? No objections if that is the case.

Notes Jkenny 20:54, 26 May 2007 (PDT)

  • Fixed Ravenscroft's.
  • Fixed lyrics - shows dangers of cutting and pasting ready code from another piece!
  • Let's stick to organ - so many are set already. Midi fixed - a consequence of fatigue and poor eyesight.

QMacrocarpa 15:43, 27 May 2007 (PDT)

  • Top margin on second page seems much more generous here than on 094.png. Is there some difference in the margin settings between the two?
  • Nothing else to mention! :)

Notes by Jkenny 19:31, 27 May 2007 (PDT)

  • The margins were the same as 94png. But here there was an invisible fake score block on top of the second page to force a page break. (Forcing a page break within a block of text is one of the Lilypond problems discussed on the mailing list with no better solution). The fake score block is now at the bottom of page 1, same as 94.png
  • Now, in version 3, I have left a blank line on top of the second page, so the distance from the top edge is about 30mm. With 94, there's no blank line, the space is about 25mm. Which is better?

QMacrocarpa 13:03, 31 May 2007 (PDT)

  • Viewing in GhostView Letter mode, I prefer 2nd page top margin of 096 over 094. But margins are getting to be the new fonts-- I think we need to keep things simple, and am starting to lean toward going with straight A4 defaults everywhere.
  • The top margin difference isn't really significant when the pages are not full.

Lily3 cleared, files uploaded stygiania 18:16, 31 May 2007 (PDT)

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

  • Added more
  • Replaced paper block with one that mostly uses defaults (practice which we standardised from about hymn 50+ onwards)
  • Music and text untouched.
  • This becomes version 4

Project History

    • Lily1 - done by QMacrocarpa (ABC + perl-formatted lyrics)
    • Lily2 - done by Jkenny 02:27, 26 May 2007 (PDT) "letter-size friendly settings"
    • Lily3 - notes added stygiania 19:53, 26 May 2007 (PDT)
- fixed. Jkenny 20:56, 26 May 2007 (PDT)
- comments added QMacrocarpa 15:44, 27 May 2007 (PDT)
- fixed. More letter-size checking and comments please. Jkenny 19:33, 27 May 2007 (PDT)
- comparison comments QMacrocarpa 13:11, 31 May 2007 (PDT)
- Lily3 cleared, files uploaded stygiania 18:16, 31 May 2007 (PDT)
    • Version 4 uploaded to file repository