The English Hymnal - Wiki Music Experiment/376

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 to the 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.


Lily2 Code

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

%%%376.png

%%%Hymn 239 Saints of God! Lo, Jesu's people.

%%%Rev 1



\version "2.10.23"



\header {



  dedication = \markup { \center-align { "ST. BARTHOLOMEW : ST. MATTHEW"

                 	\hspace #0.1 }}	



  title = "239"
  poet = \markup { \small {  \line { \sans {"SUSSEX."} \hspace #1 \roman {"(8 7. 8 7.)"}} }}

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

  arranger = \markup { \small {\center-align {\italic "Adapted from an" \line {\italic "English Traditional Melody" } } } }

  tagline =""



}



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



%%generates the breathmarks

breathmark = { \override Score.RehearsalMark #'break-visibility = #begin-of-line-invisible

	\override Score.RehearsalMark #'Y-offset = #'4.0

	\override Score.RehearsalMark #'X-offset = #'-0.5

	\mark \markup {\fontsize #4 ","}

}



%% Used to pull a note left. 

movenote = \once \override NoteColumn #'force-hshift = #'-0.1



%%%%%%%%%%%%%%%%%%%%%%%%%%%%% End of macro definitions



%%% SATB voices



global = {



\time 4/2

\key g \major

\set Staff.midiInstrument = "church organ"

}



soprano = \relative c' {  b'2 b b2. a4 g4(a) b(a) g2 e2 \breathmark \bar "||" c'2 c b2. a4 g2 b a1 \bar "||" \break
g2 g e d g2. g4 a4(b) c2 \bar "||" d2. d4 c2 b4(g) a2 a g1 \bar "||" }



alto = \relative c' { g'2 g g2. fis4 e2 d e e \bar "||" e2 g g2. fis4 g2 g fis1 \bar "||" \break
d2 d c4(b) a2 d2. e4 fis2 g \bar "||" g2. d4 fis2 g g fis \movenote g1 \bar "||" }



tenor = \relative c { \clef bass  d'2 d d2. d4 b2 b b g \bar "||" c2 c d2. d4 b2 g a1 \bar "||" \break
b2 g g fis g2. b4 d2 e d2. g,4 c2 d e d4(c) b1 \bar "||" }



bass = \relative c {\clef bass g'2 g g2. d4 e2 b e e \bar "||" c2 e g2. d4 e2 b d1 \bar "||" \break
g,2 b c d b2. e4 d2 c \bar "||" b2. b4 a2 b c d g,1 \bar "||"  }



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



%%% 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"  }



	}



%%% Hymn midi



\midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 72 2) }}%%% Hymn midi  



} %%% score bracket



\markup{ \hspace #18

  \override #'(line-width . 85)

  \justify{ \smallCaps "Note.-" \small \italic { This hymn may also be sung to } \smallCaps "Stuttgart" "(No. 40)." } }
  

%% 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'1 g1 \bar "||" }}

	\context Voice = "altos"    { \relative c' { \clef treble \global \voiceTwo e1 d1 \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 c'1 b1 \bar "||" }}

	\context Voice = "basses" { \relative c { \clef bass \global \voiceFour  c1 g1 \bar "||" }}

                             >> 

>>			      



\header { breakbefore = ##f piece = " " opus = " " }



\layout { 

      \context { \Score timing = ##f }

      ragged-right = ##t

      indent = 15\cm

      \context { \Staff \remove Time_signature_engraver }

       }


%%Amen midi

\midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 72 2) }}  %%Amen midi 

}%%Amen score


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:

Links to L2 output version 1: