\version "2.11.34" \header { % title = "101b. Holy City. 6s, 7s." title = "Holy City" source = "The Sacred Harp (1991 Denson edition)" poet = "B.F. White, 1844." composer = "B.F. White, 1844." tagline = \markup { \fill-line { \with-url #"http://creativecommons.org/licenses/by/2.5/ca/" "License: Creative Commons Attribution 2.5" "Reactor Core Hymn Repository" \with-url #"http://hymns.reactor-core.org/" "http://hymns.reactor-core.org/" } } } #(set-global-staff-size 16) #(set-default-paper-size "letter" 'landscape) %major %sacredHarpHeads = \set shapeNoteStyles = ##(fa #f la fa #f la mi) %minor sacredHarpHeads = \set shapeNoteStyles = ##(la mi fa #f la fa #f) \paper { pagenumber = "yes" linewidth = 120\mm indent = 0\mm } % increase bar number ibn = \applyContext #(lambda (x) (let ((measurepos (ly:context-property x 'measurePosition))) ; Only increase bar number if not at start of measure. ; This way we ensure that you won't increase bar number twice ; if two parallel voices call increaseBarNumber simultanously: (if (< 0 (ly:moment-main-numerator measurepos)) ; ugh. ignore grace part (begin (ly:context-set-property! (ly:context-property-where-defined x 'internalBarNumber) 'internalBarNumber (1+ (ly:context-property x 'internalBarNumber))) (ly:context-set-property! (ly:context-property-where-defined x 'currentBarNumber) 'currentBarNumber (1+ (ly:context-property x 'currentBarNumber))) ; set main part of measurepos to zero, leave grace part as it is: (ly:context-set-property! (ly:context-property-where-defined x 'measurePosition) 'measurePosition (ly:make-moment 0 1 (ly:moment-grace-numerator measurepos) (ly:moment-grace-denominator measurepos))))))) numverses = 3 %pause = { \tempo 4=120 r2 \tempo 4=120 } pause = { } global = { \key fis \minor \time 4/4 \sacredHarpHeads \set autoBeaming = ##f \tempo 4=120 } soprano = \relative g' { \global \repeat volta 2 { r2 cis | fis4 e fis fis | e8[ fis e dis] cis4 cis | e fis cis cis | } \alternative { { cis2 \ibn } { cis1 } } r2 cis | a4 fis a b | cis2 cis4 cis | a fis a b | cis4. (e8 fis2 ~ | fis) fis | b,4 b cis cis | fis2 cis4 cis | e dis cis cis | cis1 \bar "|." } alto = \relative g' { \global \repeat volta 2 { r2 fis | fis4 e fis fis | e2 fis4 fis | a fis fis e | } \alternative { { fis2 \ibn } { fis1 } } r2 fis | fis4 fis fis e | fis2 fis4 fis | a fis e e | fis4. (gis8 fis2 ~ | fis) fis4. (e8) | fis4 fis fis fis | fis (e) fis fis | e fis fis e | fis1 \bar "|." } tenor = \relative g' { \global \repeat volta 2 { r2 cis | dis4 e cis cis | b (a) fis fis | a b8[ a] fis4 e | } \alternative { { fis2 \ibn } { fis1 } } r2 fis | a4 b cis e | fis2 fis,4 fis | a b cis e | fis4. (b,8 cis2 ~ | cis) cis4. (e8) | fis4 fis cis cis | b (a) fis fis | a b8[ a] fis4 e | fis1 \bar "|." } bass = \relative f { \global \repeat volta 2 { r2 fis | fis4 e cis cis | e (cis) fis fis | e fis cis cis | } \alternative { { fis2 \ibn } { fis1 } } r2 fis | fis4 fis a e | fis2 fis4 fis | a fis e cis | fis4. (e8 fis2 ~ | fis) fis | fis4 fis cis cis | fis2 fis4 fis | e fis cis cis | fis1 \bar "|." } sopwords = \lyricsto "sopvox" \context Lyrics = a { \set stanza = "1." There is a ho -- ly cit -- y, A hap -- py world a -- bove, } sopwordss = \lyricsto "sopvox" \context Lyrics = aa { Be -- yond the star -- ry re -- gions, Built by the God of _ love. An ev -- er -- last -- ing tem -- ple, And saints ar -- rayed in white; They serve their great Re -- deem -- er, And dwell with Him in light. } altwords = \lyricsto "altvox" \context Lyrics = b { \set stanza = "2." It is no world of trou -- ble, The God of peace is there, } altwordss = \lyricsto "altvox" \context Lyrics = bb { He wipes a -- way their sor -- rows, He ban -- ish -- es their _ care; Their joys are still in -- creas -- ing, Their songs are ev -- er new; They praise th'e -- ter -- nal Fa -- ther, The Son and Spi -- rit, too. } tnrwords = \lyricsto "tnrvox" \context Lyrics = c { \set stanza = "3." Is this the Man of sor -- rows Who stood at Pil -- ate's bar, } tnrwordss = \lyricsto "tnrvox" \context Lyrics = cc { Con -- temned by haugh -- ty Her -- od, And by his men of _ war? He seems a might -- y con -- qu'ror, Who spoiled the pow'rs be -- low, And ran -- somed man -- y cap -- tives From ev -- er -- last -- ing woe. } \score { \new ChoirStaff << \new Staff << \clef treble \new Voice = "sopvox" \soprano \new Lyrics = "a" {} \new Lyrics = "aa" {} >> \new Staff << \clef treble \new Voice = "altvox" \alto \new Lyrics = "b" {} \new Lyrics = "bb" {} >> \new Staff << \clef treble \new Voice = "tnrvox" \tenor \new Lyrics = "c" {} \new Lyrics = "cc" {} >> \new Staff << \clef bass \new Voice = "bssvox" \bass \new Lyrics = "d" {} \new Lyrics = "dd" {} >> \sopwords \sopwordss \altwords \altwordss \tnrwords \tnrwordss >> \layout { \context { \Score \remove "Bar_number_engraver" \override PaperColumn #'keep-inside-line = ##t \override MetronomeMark #'transparent = ##t } \context { \ChoirStaff \accepts "Lyrics" } \context { \Lyrics \override LyricSpace #'minimum-distance = #1.2 \override LyricText #'self-alignment-X = #LEFT \consists "Bar_engraver" \consists "Separating_line_group_engraver" \override BarLine #'transparent = ##t } } } \score { << \new Staff { \set Staff.midiInstrument = #"church organ" \global \clef treble \transpose g' g'' \repeat unfold \numverses { \unfoldRepeats { \soprano } \pause } } \new Staff { \set Staff.midiInstrument = #"church organ" \global \clef treble \transpose g' g'' \repeat unfold \numverses { \unfoldRepeats { \soprano } \pause } } \new Staff { \set Staff.midiInstrument = #"church organ" \global \clef treble \repeat unfold \numverses { \unfoldRepeats { \soprano } \pause } } \new Staff { \set Staff.midiInstrument = #"church organ" \global \clef treble \transpose g' g'' \repeat unfold \numverses { \unfoldRepeats { \alto } \pause } } \new Staff { \set Staff.midiInstrument = #"church organ" \global \clef treble \repeat unfold \numverses { \unfoldRepeats { \alto } \pause } } \new Staff { \set Staff.midiInstrument = #"church organ" \global \clef treble \repeat unfold \numverses { \unfoldRepeats { \alto } \pause } } \new Staff { \set Staff.midiInstrument = #"church organ" \global \clef treble \repeat unfold \numverses { \unfoldRepeats { \tenor } \pause } } \new Staff { \set Staff.midiInstrument = #"church organ" \global \clef treble \transpose g' g \repeat unfold \numverses { \unfoldRepeats { \tenor } \pause } } \new Staff { \set Staff.midiInstrument = #"church organ" \global \clef bass \repeat unfold \numverses { \unfoldRepeats { \bass } \pause } } \new Staff { \set Staff.midiInstrument = #"church organ" \global \clef bass \transpose f f, \repeat unfold \numverses { \unfoldRepeats { \bass } \pause } } \new Staff { \set Staff.midiInstrument = #"church organ" \global \clef bass \transpose f f, \repeat unfold \numverses { \unfoldRepeats { \bass } \pause } } % \new Staff { \set Staff.midiInstrument = #"acoustic grand" % \global \clef treble \repeat unfold \numverses { \unfoldRepeats { \soprano } \pause } } % \new Staff { \set Staff.midiInstrument = #"acoustic grand" % \global \clef treble \repeat unfold \numverses { \unfoldRepeats { \alto } \pause } } % \new Staff { \set Staff.midiInstrument = #"acoustic grand" % \global \clef treble \repeat unfold \numverses { \unfoldRepeats { \tenor } \pause } } % \new Staff { \set Staff.midiInstrument = #"acoustic grand" % \global \clef bass \repeat unfold \numverses { \unfoldRepeats { \bass } \pause } } >> \midi { } }