Heilig ist Gott Zebaot/score

Zur Navigation springen Zur Suche springen

Lilypond Score

\version "2.20.0"
\language "deutsch"
myTitel = "Heilig ist Gott Zebaot"

make-midi-list =
#(define-void-function (name score tempolist)
   ((string? #f) ly:score? list?)
   (for-each
    (lambda (tempo)
      (ly:book-process
       (apply
        ly:make-book
        $defaultpaper
        $defaultheader
        (list score))
       $defaultpaper
       #{
         \midi {
           \tempo 4 = $tempo
         }
       #}
       (format #f "~a_~a"
         (or name "midi")
         tempo)))
    tempolist))

#(define ((chord-name->german-markup-text-alteration B-instead-of-Bb) pitch lowercase?)

   (define (pitch-alteration-semitones pitch)
     (inexact->exact (round (* (ly:pitch-alteration pitch) 2))))

   (define (conditional-string-downcase str condition)
     (if condition
         (string-downcase str)
         str))

   (let* ((name (ly:pitch-notename pitch))
          (alt-semitones  (pitch-alteration-semitones pitch))
          (n-a (if (member (cons name alt-semitones) `((6 . -1) (6 . -1)))
                   (cons 7 (+ (if B-instead-of-Bb 1 1) alt-semitones))
                   (cons name alt-semitones))))
     (make-line-markup
      (list
       (make-simple-markup
        (conditional-string-downcase
         (vector-ref #("C" "D" "E" "F" "G" "A" "H" "B") (car n-a))
         lowercase?))
       (let ((alteration (/ (cdr n-a) 2)))
         (cond
          ((and (equal? lowercase? #f) (= alteration FLAT) (= (car n-a) 7)) (make-simple-markup ""))
          ((and (= alteration FLAT) (or (= (car n-a) 5) (= (car n-a) 2) )) (make-simple-markup "s"))
          ((= alteration FLAT) (make-simple-markup "es"))
          ((and (= alteration DOUBLE-FLAT) (or (= (car n-a) 5)(= (car n-a) 2) )) (make-simple-markup "ses"))
          ((= alteration DOUBLE-FLAT) (make-simple-markup "eses"))
          ((= alteration SHARP) (make-simple-markup "is"))
          ((= alteration DOUBLE-SHARP) (make-simple-markup "isis"))
          (else empty-markup)))))))

#(define germanChords (chord-name->german-markup-text-alteration #t))

\layout {
  \context {
    \Voice
    beamExceptions = #'()
    \override BreathingSign.text =
    \markup { \musicglyph #"scripts.lvarcomma" }
    \override Stem.neutral-direction = #down
    \override Script.outside-staff-priority = #'()
    \override Script.padding = #1
    \override Tie.thickness = #1
    \override PhrasingSlur.thickness = #3
    \override Rest.voiced-position = #0
    \override MultiMeasureRest.expand-limit = #3
  }
  \context {
    \Staff
    printPartCombineTexts = ##f
    beamExceptions = #'()
    \override BreathingSign.text =
    \markup { \musicglyph #"scripts.lvarcomma" }
    \override InstrumentName.font-features = #'("smcp")
  }
  \context {
    \Score
    \override VerticalAxisGroup.remove-first = ##t
    skipBars = ##f
    \override MetronomeMark.font-size = #1
    \override MetronomeMark.font-shape = #'caps
    \override BarLine.thick-thickness = 5
    barNumberVisibility = #all-bar-numbers-visible
    \override Timing.beamExceptions = #'()
    \override BarNumber.color = #(rgb-color 0.7 0.7 0.7)
    \override BarNumber.layer = #-200
    \override BarNumber.outside-staff-priority =#'()
    \override BarNumber.padding = #1
    \override BarNumber.font-size = #-1
    \override BarNumber.font-series = #'bold
    \override BarNumber.self-alignment-X = #0
    \override BarNumber.break-visibility = #end-of-line-invisible
  }
  \context {
    \ChordNames
    chordNameLowercaseMinor = ##f
    \remove Staff_performer
    chordRootNamer = #germanChords
    \override ChordName.font-name = #"Orator10 BT"
    chordNoteNamer = #(chord-name->german-markup #f)
    \override ChordName.X-offset =
    #ly:self-alignment-interface::aligned-on-x-parent
    \override ChordName.self-alignment-X = #CENTER
    \override ChordName.font-name = #"Arial Narrow"
    \override ChordName.layer = #2
    \override ChordName.font-size = #-0.5
    noChordSymbol = ##f
  }
}

sop = \relative c' {
  \time 4/4
  \numericTimeSignature
  \key c \major
  e4 d c e
  g f e r
  g g f e
  d2 c4 r
  c' c h g
  a  a g2 \breathe
  g4 g a a
  g ( f ) e r
  c e8( f) g4 e
  f a g2 \breathe
  f4 g e d8( c)
  d2 c4 r
  \bar "|."
}

alt = \relative c' {
  c4 h c c
  h d c s
  d c c c
  h2 c4 s
  c2 d ~
  d d
  h c
  h c4 s
  c c e c
  c2 ~ c
  c4 h c4 a
  h2 c4
}

ten = \relative c' {
  \key c \major
  \clef bass
  g4-5-1 f-2 e-\markup \finger \overtie "3 1" ~ e-4-1
  d2-3-1 e4-5-1 r
  g4-4-1 e f4-5-1 e-4-2
  f-\markup \finger \overtie "1 2" g-1 ~ g r
  a2-5-1 g-4-1
  f-3-2 g-4-1
  g-3-1 e4-4-2 f-1 ~
  f2-2-1 g4-4-1 r
  a2-5-1 g-5-2
  a-3-1 e-5-3
  f-5-1 g4-3-1 f-2-1 ~
  f2-5-1 g4-4-2-1 r
}

bas = \relative c {
  c2 ~ c4 a
  h a^4 g s
  h c a4 g
  h2 < c e >4 s
  a2 h
  d h
  d c
  d b4 s
  c2 ~ c
  f c
  a4 h^4 c d
  h d^3 < c e >
}

Akk=
\chordmode {
  c4 g:7 c a:m
  g:7 d:m c2
  g4 c f4 c
  g2:7 c
  f g
  d:m g
  g a4:m f
  g2:7 c:7
  a2:m c
  f2 c
  f4 g c d:m
  g2:7 c4
}

Struktur =
{
  \override Score.NonMusicalPaperColumn.page-break-permission = ##f
  \override PianoStaff.VerticalAxisGroup.staff-staff-spacing.padding = #12
  \override Lyrics.VerticalAxisGroup.staff-affinity = #CENTER
  s1 * 4 \break
}

lyr = \lyricmode {
  Hei -- lig ist Gott Ze -- ba -- ot,
  hei -- lig, hei -- lig, hei -- lig!
  Zeu -- gen sei -- ner Herr -- lich -- keit
  Him -- mel sind und Er -- de.
  Drum in all -- le E -- wig -- keit
  Gott ge -- prie -- sen wer -- de!
}

kopf=\header {
  title = \markup \line
  {
    \myTitel
  }
  subtitle = "GL 770"
  subsubtitle = "Österreich"
  poet = "T: München 1845"
  composer = "M: Johann Georg Franz Braun (ca.1630-1675)"
  piece = "Notensatz: lilypond.miraheze.org"
}

\bookpart {
  \paper {
    top-margin = 30\mm
    ragged-right = ##f
    ragged-last = ##f
    ragged-bottom = ##t
    ragged-last-bottom = ##t
    bottom-margin = 35\mm
    indent = #0
    line-width = 160\mm
    print-all-headers = ##f
    #(include-special-characters)
    print-first-page-number = ##t
    first-page-number = #1
    oddFooterMarkup = ##f
    evenFooterMarkup = ##f
    oddHeaderMarkup = #oddFooterMarkup
    evenHeaderMarkup = #evenFooterMarkup
    markup-system-spacing.padding = #8
    system-system-spacing.padding = #8
    markup-markup-spacing.padding = #2
  }

  \kopf
  \score
  {
    <<
      \new PianoStaff="leadsheet"
      <<
        \new Staff="Discant"
        <<
          \new Voice="Alt" { \voiceOne \sop }
          \new Voice { \voiceTwo \alt }
        >>
        \new Lyrics \lyricsto Alt \lyr
        \new Staff="Bass"
        <<
          \new Voice { \voiceOne \ten }
          \new Voice { \voiceTwo \bas }
          \new NullVoice \Struktur
        >>
      >>
      \new ChordNames \Akk
    >>
  }
}