Heilig heilig heilig D Dur/score

Zur Navigation springen Zur Suche springen

Lilypond Score

\version "2.22.0"
\language "deutsch"
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
    \override Timing.beamExceptions = #'()
    barNumberVisibility = #all-bar-numbers-visible
    \override BarNumber.color = #(rgb-color 0.7 0.7 0.7)
    \override BarNumber.layer = #-200
    \override BarNumber.padding = #0.4
    \override BarNumber.outside-staff-priority =#'()
    \override BarNumber.after-line-breaking = ##f
    \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
  }
  \context {
    \Lyrics
    \override VerticalAxisGroup.staff-affinity = #CENTER
  }
}
sop = \relative c'' {
  \time 3/4
  \key es \major
    \override Score.RehearsalMark.break-align-symbols = #'(time-signature)
  \override Score.TimeSignature.break-align-anchor-alignment = #CENTER
  \mark \markup { \fontsize #-3.5 \note {4} #UP }
  g2 g4
  f2 g4
  as2. g \breathe
  f2 f4
  f2 g4
  es2.( f2) r4
  g2 g4
  f2 g4
  as2. g \breathe
  f2 f4
  f2 g4
  es2. ~ es2 r4
  b'2 b4
  b2 b4
  c2. as \breathe
  as2 b4
  g2 es4
  f2. ~ f4 r r4
  g2 g4
  f2 es4
  as2. g \breathe
  c2 f,4
  f2 g4
  es2. ~ es4 r r
  \bar "|."
}

alt = \relative c' {
  es2 es4
  d2 es4
  es2. es
  es2 es4
  d2 d4
  b2. d2 s4
  es2 es4
  d2 des4
  c2 d4
  es2. es2 es4 d2.
  b2. ~ b2 s4
  es2 es4
  f2 f4
  e2. f
  f2 f4
  es2 es4
  d4 c b as4 s s
  des2 des4
  des2 des4
  c2 d4
  es2.
  es2 es4
  d2 b4
  b2. ~ b4
}

ten = \relative c' {
  \key es \major
  b2 ~ b4 ~
  b2 ~ b4
  r2 r4
  b2. \breathe f
  as2 b4
  g2.
  f2 r4
  b2. ~ b2 g4
  s2. s \breathe s
  b2 d,4
  g2. ~ g2 r4
  g2. ~ g ~
  g2 c4 ~
  c2. \breathe
  b2. ~ b ~ b ~ b4 r r4
  b2.
  as2 b4
  as2. b \breathe
  as2 c,4
  f2 g4 ~
  g2. ~ g4 r r
}

bas = \relative c {
  \clef bass
  \key es \major
  es2 ~ es4
  b2 es4
  as,2 c4
  es2. as,
  b ~
  b ~ b2 s4
  es2.
  b
  \oneVoice
  as'2 f4 es2.
  as
  \voiceTwo
  b,
  es ~ es2 s4
  \voiceTwo
  es2. des c
  f d es
  b2. ~ b4 s s4
  es2.
  f2 g4
  f2. es
  as,2 ~ as4
  b2.
  es2. ~ es4
}

Akk=
\chordmode {
  es2. b2 es4
  as2. es
  f:m7 b2:7 g4:m
  es2. b:7
  es2. b2 es4:7
  as2. es
  f:m7 b2 g4:m
  es2. q q
  b:m c
  f:m b2:7 b4
  es2. b b:7
  es:7 des2 es4:7
  as2. es
  f:m7 b2:7 g4:m
  es2. q
}

Struktur =
{
  \override Score.NonMusicalPaperColumn.page-break-permission = ##f
  \override PianoStaff.VerticalAxisGroup.staff-staff-spacing =
  #'((basic-distance . 14)
     (padding . 8))
}

lyr = \lyricmode {
  \set stanza = #"1."
  Heil -- lig, hei -- lig, hei -- lig,
  hei -- lig ist der Herr! __
  Heil -- lig, hei -- lig, hei -- lig,
  hei -- lig ist nur er! __
  Er, der nie be -- gon -- nen,
  er, der im -- mer war, __
  e -- wig ist und wal -- tet,
  sein wird im -- mer -- dar. __
}

myTitel = "Deutsche Messe D872 (GL 711-5/802-5)"
mycomp=\markup \line \fontsize #0 {
  "M: Franz Schubert (1797-1828)"
}

kopf=\header {
  title = \markup \line
  {
    "Sanctus (Heilig, heilig, heilig)"
  }
  subtitle = \markup { #myTitel }
  subsubtitle =##f
  poet = "T: Josef Ph. Neumann (1774-1849)"
  composer = \markup { #mycomp }
  piece = "Notensatz: lilypond.miraheze.org"
}

\bookpart {
  \paper {
    top-margin = 25\mm
    ragged-right = ##f
    ragged-last = ##f
    ragged-bottom = ##f
    ragged-last-bottom = ##t
    bottom-margin = 25\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
    system-system-spacing.padding = #6
    markup-markup-spacing.padding = #2
    markup-system-spacing.padding = #4
  }
  \kopf
  \score
  {
    <<
      \new ChordNames \Akk
      \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
        >>
      >>
    >>
  }
}