The English Hymnal - Wiki Music Experiment/368

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.

%%% 368.png
%%% Hymn 235. O Master, it is good to be.
%%% Rev 1.

\version "2.10.23"

\header {
	dedication = \markup { \center-align { "THE TRANSFIGURATION" \hspace #0.1 }}
	title = "235"
	poet = \markup { \small { \sans "TALLIS' LAMENTATION."  \hspace #1 \roman  "(D.L.M.)" } }
	meter =  \markup { \small { \italic "Very slow and solemn" \fontsize #-5 \general-align #Y #DOWN \note #"2" #1 = 60.} }
	arranger = \markup { \small \italic "Melody in Day's Psalter", 1562 }
	tagline =""
			}

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

%% Macro to push notes rightwards
push = { \once \override NoteColumn #'force-hshift = #0.9 }


global = {
\time 6/2
\key f \major
\set Staff.midiInstrument = "church organ"
}

soprano = \relative c' { \partial 2 d2 \bar "|" f1 g2 f1 e2 \bar "|" f2 e1 \push d1 \bar "||" f2 \bar "|" a1 a2 g1 f2 \bar "|" g2 e1 \push d1 \breathmark \bar "||" \break
f2 \bar "|" a2.(g4) f2 c'2.(bes4) a2 \bar "|" bes2 g1 \push f1 \bar "||" a2 \bar "|" a1 g2 g1 f2 \bar "|" g2 e1 \push d1 \breathmark \bar "||" \break
f2 \bar "|" a(b) c c1 d2 \bar "|" a b1 \push a1 \bar "||" c2 \bar "|" b1 a2 d1 c2 \bar "|" a b1 \push a1 \breathmark \bar "||" \break
a2 \bar "|" a1 g2 c1 c2 \bar "|" c a1 a \bar "||" g2 \bar "|" bes!1 a2 g1 f2 \bar "|" g2 e1 \push d1 \bar "||" }
 
alto = \relative c' { \partial 2 a2 \bar "|" d1 e2 d1 c2 \bar "|"  \once \override NoteColumn #'force-hshift = #0.4 d1 cis2 d1 \bar "||" d2 \bar "|" f1 f2 e1 d2 \bar "|"  \once \override NoteColumn #'force-hshift = #0.4 d1 cis2 d1 \bar "||" \break
d2 \bar "|"  \once \override NoteColumn #'force-hshift = #0.4 f1 f2  \once \override NoteColumn #'force-hshift = #0.4 g1 f2 \bar "|"  \once \override NoteColumn #'force-hshift = #0.4 f1 e2 f1 \bar "||" f2 \bar "|" f1 d2 e1 d2 \bar "|"  \once \override NoteColumn #'force-hshift = #0.4 d1 cis2 d1 \bar "||" \break
d2 \bar "|"  \once \override NoteColumn #'force-hshift = #0.3 f1 g2 a1 a2 \bar "|" a1 gis2 a1 \bar "||" e2 \bar "|" g1 a2 b1 a2 \bar "|" a1 gis2 a1 \bar "||" \break
f2 \bar "|" e1 e2 c1 a'2 \bar "|" g f1 e \bar "||" e2 \bar "|" g1 f2 e1 d2 \bar "|"  \once \override NoteColumn #'force-hshift = #0.4 d1 cis2 d1 \bar "||" }

tenor = \relative c { \clef bass \partial 2 f2 \bar "|" a1 c2 a1 a2 \bar "|"  \once \override NoteColumn #'force-hshift = #0.5 a1 a2 f1 \bar "||" a2 \bar "|" d1 c2 c1 a2 \bar "|" b2 a1 f1 \bar "||" \break
a2 \bar "|" d1 d2 e1 c2 \bar "|" d2 c1 a1 \bar "||" d2 \bar "|" d1 b2 c2.(bes4) a2 \bar "|" b2 a1 f1 \bar "||" \break
a2 \bar "|" d1 e2 f1 f2 \bar "|" d2 b1 c1 \bar "||" e2 \bar "|" e1 c2 g'2.(f4) e2 \bar "|" d2 b1 c1 \bar "||" \break
a2 \bar "|" c1 b!2 a2.(b4) c(d) \bar "|" e2 d1 cis \bar "||" c!2 \bar "|" d1 c2 c2.(bes4) a2 \bar "|" b2 a1 f \bar "||" }

bass = \relative c { \clef bass \partial 2 d2 \bar "|" d1 c2 d1 a2 \bar "|" d2 a1 d1 \bar "||" d2 \bar "|" d1 f2 c1 d2 \bar "|" g,2 a1 d1 \bar "||" \break
d2 \bar "|" d1 d2 c1 f2 \bar "|" bes,2 c1 f,1 \bar "||" d'2 \bar "|" d1  g,2 \once \override NoteColumn #'force-hshift = #0.2 c1 d2 \bar "|" g,2 a1 d1 \bar "||" \break
d2 \bar "|" d1 c2 f1 d2 \bar "|" f e1 a,1 \bar "||" a'2 \bar "|" e1 f2  \once \override NoteColumn #'force-hshift = #0.3 g1 a2 \bar "|" f e1 a,1 \bar "||" \break
d2 \bar "|" a1 e'2  \once \override NoteColumn #'force-hshift = #0.4 f1 f2 \bar "|" c d1 a \bar "||" c2 \bar "|" g1 a2  \once \override NoteColumn #'force-hshift = #0.3 c1 d2 \bar "|" g, a1 d \bar "||"  }

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

\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" }
	}
%%midi
\midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 60 2)}}%% midi score bracket

}%%score

\markup { \hspace #7 \override #' (line-width . 76 )
\justify {\smallCaps "Note.-" \small {\italic "This hymn may also be sung to" \smallCaps "Cantate Domino" "(No. 48)." } }
}

%%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 d1 d \bar "||" }}
		\context Voice = "altos" { \relative c' {\clef treble \global \voiceTwo bes1 a \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 \voiceOne g'1 fis \bar "||" }}
		\context Voice = "basses" { \relative c {\clef bass \global \voiceTwo g1 d' \bar "||" }}
		>>
>>

\header { breakbefore = ##f piece = " " opus = " " }
\layout {
	\context { \Score timing = ##f }
	ragged-right = ##t
	indent = 15\cm
	\context { \Staff \remove "Time_signature_engraver" }
	}%%layout

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

Lily2 Code

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


Lily3 Notes

  • Ebykm 13:41, 14 July 2008 (PDT)
    • Is there any way to increase space between accidentals and barlines ?.