The English Hymnal - Wiki Music Experiment/257

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.

Note: I hope I combined the right notes on single stems.  KenJ

soprano = g4 | g2 d4 | g2 g4 | a2 a4 | g2 | g4 | c2 c4 |
b2 b4 | a2 g4 | d2 | d4 | d2 a4 | c2 b4 |
a2 g2 | d2 | g4 | a2 b4 | g2 c4 | b2 a4 | g2 |

alto = d4 | d2 b4 | b2 e4 | fis2 fis4 | d2 | d4 | g2 g4 |
g2 g4 | fis2 g4 | <fis a>2 | b4 | a2 f4 | g2 g4 |
e2 e4 | a2 | e4 | fis2 <d fis>4> | e2 g4 | g2 fis4 | <b d>2 |

tenor = b4 | b2 fis4 | g2 b4 | d2 d4 | b2 | b4 | e2 e4 |
d2 d4 | d2 b4 | d2 | g4 | f2 c4 | e2 d4 |
c2 b4 | fis2 | b4 | d2 b4 | b2 e4 | d2 d4 | g2 |

bass = g4 | g2 b4 | e2 e4 | d2 d4 | g2 | g4 | c2 c4 |
g2 g4 | d2 e4 | d2 | g4 | d2 f4 | c2 g4 |
a2 e4 | d2 | e4 | d2 b4 | e2 c4 | g2 d4 | g2 |

Thanks. You did combine the right notes on the alto stems. However, I moved more of the notes in the tenor part to join the alto stems. In general, all downstem notes in the upper staff are considered "altos". In fact this piece has hardly any tenor notes, most are just padding, which is indicated by "s". Only when there is an upstem on the lower staff is it considered a "tenor" note. This is done so that the "tenor" notes don't have to change staff (which involves oomplex code). Jkenny 20:33, 13 August 2007 (PDT)

Example below:

alto = <b d>4 | <b d>2 <b d>4 | b2 <b e>4 | <d fis>2 <d fis>4 | <b d>2 | <b d>4 | <e g>2 <e g>4 |
 ...

tenor = s4 | s2 fis4 | g2 s4 | s2 s4 | s2 | s4 | s2 s4 |
 ...


Lyrics copied from P3 and perl-formatted --QMacrocarpa 18:19, 5 July 2007 (PDT):

"BE present, Holy Trinity,"
"Like splendour, and one Deity:"
"Of things above, and things below,"
"Beginning, that no end shall know."
""
"Thee all the armies of the sky"
"Adore, and laud, and magnify,"
"And Nature, in her triple frame,"
"For ever sanctifies thy name."
""
"And we, too, thanks and homage pay,"
"Thine own adoring flock to-day;"
"O join to that celestial song"
"The praises of our suppliant throng!"
""
"Light, sole and one, we thee confess,"
"With triple praise we rightly bless;"
"Alpha and Omega we own,"
"With every spirit round thy throne."
""
"To thee, O unbegotten One,"
"And thee, O sole-begotten Son,"
"And thee, O Holy Ghost, we raise"
"Our equal and eternal praise."

Lily2 Code

Edit this section and paste your code between the tags <code><pre> and </pre></code>.

%%%% 257.png
%%%% Hymn 159 Modern tune. Adesto Sancta Trinitas.  Be present, Holy Trinity.
%%%% Rev 1.

\version "2.10"

\header {
  dedication = \markup { \center-align { "THE CHRISTIAN YEAR - TRINITY SUNDAY"
	\hspace #0.1 }}	
	
	title = \markup { "159 " \large \smallCaps "(Modern Tune)"}   
  
  poet = \markup { \small {  \line { \sans { "ADESTO SANCTA TRINITAS."} \hspace #1 \roman {"(L. M.)"}} }}
  
  meter = \markup { \small { \italic {In moderate time} \general-align #Y #DOWN \note #"4" #0.5 = 144.} }
  
  arranger = \markup { \small \italic "Chartres Church Melody." }
  
  tagline = ""
}


%%% SATB voices

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

soprano = \relative c' { 
  \override TextScript #'padding = #2	
  \partial 4 g'4 ^\markup { \italic "To be sung in unison." }  | g2 d4 | g2 g4 | a2 a4 | g2 \bar "||" g4 | c2 c4 | \break
  b2 b4 | a2 g4 | d'2 \bar "||" d4 | d2 a4 | c2 b4 | \break
  a2 g4 | d2 \bar "||" g4 | a2 b4 | g2 c4 | b2 a4 | g2 \bar "||"
} 
   
alto = \relative c' {  
  <b d>4 | <b d>2 <b d>4 | b2 <b e>4 | <d fis>2 <d fis>4 | <b d>2 \bar "||" <b d>4 | <e g>2 <e g>4 |
  <d g>2 <d g>4 | <d fis>2 g4 | <fis a>2 \bar "||" <g b>4 | <f a>2 <c f>4 | <e g>2 <d g>4 |
  <c e>2 e4 | a2 \bar "||" e4 | <d fis>2 <d fis>4 | e2 <e g>4 | <d g>2 <d fis>4 | <b d>2 \bar "||"
}

tenor = \relative c {\clef bass 
  s4 | s2 fis4 | g2 s4 | s2 s4 | s2 \bar "||" s4 | s2 s4 |
  s2 s4 | s2 b4 | d2 \bar "||" s4 | s2 s4 | s2 s4 |
  s2 b4 | fis2 \bar "||" b4 | s2 b4 | b2 s4 | s2 s4 | s2 \bar "||"
}

bass = \relative c {\clef bass 
  g4 | g2 b4 | e2 e4 | d2 d4 | g2 \bar "||" g4 | c,2 c4 |
  g'2 g4 | d2 e4 | d2 \bar "||" g4 | d2 f4 | c2 g4 |
  a2 e'4 | d2 \bar "||" e4 | d2 b4 | e2 c4 | g'2 d4 | <g, g'>2 \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 block	

\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"  }
	} %% close layout

%%% Hymn Midi	

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


%%% Hymn note

\markup { \hspace #38 \column { 
		\line {\hspace #8 \italic "See also:" } 
		"          "
		\line { \small "632  Eternal Light, Divinity." }
		\line  { \small "633  All hail, adored Trinity." }
}}


\markup { "              "} %%% force more blank space           
\markup { "              "} %%% force more blank space 

%%% Lyric titles and attributions

\markup { \column { 
	\line { \small { \hspace #8 \smallCaps  "Office Hymn." " E." \italic "and" "M." \hspace #38 \italic "c. 10th cent.  Tr. J. M. Neale." } }
        \line { \small { \hspace #40 "Adeste, sancta Trinitas." }}
}}


%%% 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 "B" }   %%Drop Cap goes here
				  \hspace #-1.4    %% adjust this if other letters are too far from Drop Cap
				  \column  { \raise #0.0 "E present, Holy Trinity,"
			                                 "  Like splendour, and one Deity:" } }          
	                  \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 {   
					   "Of things above, and things below,"
					   "Beginning, that no end shall know."
			  		}}
		      } %%% end verse 1	

		      
	  } %%% end super column
}		      
		      
		      
%%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
}}}

%%% Second page
%%% Continuation of lyrics		      
		      
\markup { \hspace #30 %%add space as necc. to center the column
          \column { %% super column of everything	
		  		      			\hspace #1  % adds vertical spacing between verses  
           		\line { "2  "
			   \column {	     
				   "Thee all the armies of the sky"
				   "Adore, and laud, and magnify,"
				   "And Nature, in her triple frame,"
				   "For ever sanctifies thy name."
				   "               "  %%% adds vertical spacing between verses
			}} 
           		\line { "3  "
			   \column {	     
				   "And we, too, thanks and homage pay,"
				   "Thine own adoring flock to-day;"
				   "O join to that celestial song"
				   "The praises of our suppliant throng!"
				   "               "  %%% adds vertical spacing between verses
			}} 
           		\line { "4  "
			   \column {	     
				   "Light, sole and one, we thee confess,"
				   "With triple praise we rightly bless;"
				   "Alpha and Omega we own,"
				   "With every spirit round thy throne."
				   "               "  %%% adds vertical spacing between verses
			}} 
           		\line { "5. "
			   \column {	     
				   "To thee, O unbegotten One,"
				   "And thee, O sole-begotten Son,"
				   "And thee, O Holy Ghost, we raise"
				   "Our equal and eternal praise.     Amen."
			}}
	  } %%% end supercolumn
} %%% end markup	  
       

%%% 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 g'2( a g fis) \bar "|" g\breve \bar "||" }}
	\context Voice = "altos"    { \relative c' {  \clef treble \global \voiceTwo <b e>2 <c e>( <b d>)( <a d>) \bar "|" <b d>\breve \bar "||" }}
		>>
			      
	\context Lyrics \lyricsto "altos" { \set ignoreMelismata = ##t \override LyricText #'font-size = #-1 A - - - men. }
	
	\context Staff = lower \with { fontSize = #-3  \override StaffSymbol #'staff-space = #(magstep -2) }  
	                       <<
	\context Voice = "basses" { \relative c { \clef bass \global \voiceFour  e2 a, b d \bar "|" g,\breve \bar "||" }}
			        >> 
  >>			      
\header { breakbefore = ##f piece = " " opus = " " }
\layout { 
	\context { \Score timing = ##f }
	ragged-right = ##t
	indent = 13\cm
	\context { \Staff \remove Time_signature_engraver }

       }

\midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 144 4) }}  %%Amen midi       
       
} %%% end Amen score block


} %%% book bracket

Lily3 Notes

Copy the Lilypond source to your computer and compile it to create MIDIs and a PDF to check. Leave notes here, or edit the code in Lily2 and leave notes describing the changes. After errors are corrected, the piece is declared "Cleared" and uploaded to the repository.

If you can't compile Lilypond, use the links here:

Original scan: 257.png

Links to L2 output version 1:

L2-159mod-v1.pdf L2-159mod-v1.midi L2-159mod-v1-amen.midi

Links to L2 output version 2:

L2-159mod-v2.pdf L2-159mod-v2.midi L2-159mod-v2-amen.midi


Notes by L2 Jkenny 20:33, 13 August 2007 (PDT)

  • Thanks KenJ. That was useful! I left more notes above in the L1 section, I hope it helps.
  • Tempo: I am quite sure there's a typo here. It should be 4=144 not 2=144. 2=144 blazes through like a rocket! Used 4=144 in the code.


Note by L3 KenJ 21:06, 18 September 2007 (PDT)

  • System 3, measure 2: alto note is one octave too high.


Notes by L2 Jkenny 04:10, 21 September 2007 (PDT)

  • Fixed alto note - apostrophe again!


Note by L3 KenJ 19:04, 22 September 2007 (PDT)

  • Clear.

V2 uploaded to repository. Jkenny 06:15, 23 September 2007 (PDT)


Project History

    • Lily1 - (lyrics added) - Simple Text Notation for SATB completed by KenJ
    • Lily2 - done. Thanks again KenJ! Jkenny 20:35, 13 August 2007 (PDT)
    • Lily3 - note by KenJ 21:22, 18 September 2007 (PDT)
- fixed. Jkenny 04:11, 21 September 2007 (PDT)
- clear. KenJ 19:06, 22 September 2007 (PDT)
- Uploaded to repository Jkenny 06:17, 23 September 2007 (PDT)