The English Hymnal - Wiki Music Experiment/386

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


%%%386.png

%%%Hymn 247. JESUS IST DAS SCHÖNSTE LICHT. (78. 78. 78. 88.) "Saviour, who didst healing give"
%%%Rev 1



\version "2.10.23"



\header {



  dedication = \markup { \center-align { "SAINTS' DAYS: ST. LUKE"

                 	\hspace #0.1 }}	



  title = "247" 
  poet = \markup { \small {  \line { \sans {"JESUS IST DAS SCHÖNSTE LICHT."} \hspace #1 \roman {"(78. 78. 78. 88.)"}} }}

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

  arranger = \markup { \small \smallCaps "J. A. Frevlinghausen," "1670-1739."}

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

}



%%prints a repeat sign glyph comprising 4 dots and two thin bars

fdendrepeat = {\once \override Staff.BarLine #'stencil = #ly:text-interface::print 

	\once \override Staff.BarLine #'text = \markup  {  \line { \raise #1.4 \override #'(baseline-skip . 1.0)  \column { \with-color #black {  \fontsize #2 . \fontsize #2 . \fontsize #2 . \fontsize #2 .} }

	                                                  \hspace #-1 \filled-box #'(0 . 0.15) #'(-2 . 2) #0

							  \hspace #-0.9 \filled-box #'(0 . 0.15) #'(-2 . 2) #0

	

	} }	

        \bar "||"} 



%%prints a repeat sign glyph comprising 4 dots. Used only to begin a repeat at the start of a piece where \bar ":" does not work	

fdstartrepeat =  {\once \override Staff.BarLine #'stencil = #ly:text-interface::print 

	          \once \override Staff.BarLine #'text = \markup  { \line { \hspace #0 \override #'(baseline-skip . 1.0) 

	                                                 \raise #1.4 \column { \with-color #black { 

							                \fontsize #2 . \fontsize #2 . \fontsize #2 . \fontsize #2 .} }

	          } }	

                 \bar "|:"}






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



%%% SATB voices



global = {



\time 4/2

\key g \major

\set Staff.midiInstrument = "church organ"

}



soprano = \relative c' {  \fdstartrepeat b'4(a) b(c) d2 e4(d) c2 c4.(b8) b1 \breathmark \bar "||" b2 a4.(g8) g2 a4 g g2. fis4 g2 g2^\fermata \fdendrepeat \break
b4(a) b(c) d2 c4(b) a4(g) a(b) a1 \breathmark \bar "||" c2 c b a g4(b) a(g) fis2 d2^\fermata \bar "||" \break
fis4(e) fis(g) a2 b c2 c c c \breathmark \bar "||" b4(a) g(fis) g(a) b(c) d2 c4(b) a2.(g4) g\breve^\fermata \bar "||" }



alto = \relative c' { \fdstartrepeat d2 g g c,4(d) e2 d d1 \bar "||" d2 fis g e d2 d b b \fdendrepeat \break
d2 d g a4(g) fis4(e) d2 d1 \bar "||" c2 d d d g e d a \bar "||" \break
d4(e) d(cis) d2 d e2 c e fis \bar "||" g4(fis) d2 d d4(fis) g4(b) a(g) g2(fis) d\breve \bar "||" }



tenor = \relative c { \clef bass \fdstartrepeat g'2 d' d g, g2 fis g1 \bar "||" b2 d b c a2 a g d \fdendrepeat \break
g2 g g4(d') e2 a,2 fis4(g) fis1 \bar "||" e2 a g fis b4(g) e(a) a2 fis \bar "||" \break
a2 a fis gis a2 e c' d \bar "||" d4(c) b(a) g(fis) g(d') d2 e a,(d) b\breve \bar "||" }



bass = \relative c {\clef bass  \fdstartrepeat g'2 g,4(a) b2 c4(b) a2 d g,1 \bar "||" g'2 d e c d2 << { \once \override Stem #'length =#4 \stemDown \tiny d2 } \\ d,2 >> g g_\fermata \fdendrepeat \break
g'2 g,4(a) b2 c d2 d << { \tiny d1 } \\ d,1 >> \bar "||" a'2 fis g d' \once \override NoteColumn #'force-hshift = #1
e2 cis d << { \once \override Stem #'length =#4 \stemDown \tiny d2 } \\ d,2_\fermata >> \bar "||" \break
d'4(cis) d(e) d2 b a2 a a' d, \bar "||" g,4(a) b(c) b(a) g(a) b2 c d1 g,\breve_\fermata \bar "||" }



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



%%% 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 76 2) }}%%% Hymn midi  



} %%% score 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 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 76 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: