O Herr ich bin nicht würdig/score

Zur Navigation springen Zur Suche springen

Lilypond Score

\version "2.20.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
  }
} 
myTitel = "O Herr, ich bin nicht würdig"

sop = \relative c' {
  \time 4/4
  \override Score.RehearsalMark.break-align-symbols = #'(time-signature)
  \override Score.TimeSignature.break-align-anchor-alignment = #CENTER
  \mark \markup { \fontsize #-3.5 \note #"4" #UP }
  \key c \major
  \partial 4
  \repeat volta 2 {
    e8( f)
    g4. c8 g4 f
    f e r c'
    h h h h
    c8( g) g4 r g
    a4. d8 d( c) c( h)
    c2 r4
  }
  e,
  d e f e
  e d r e
  d e f e
  e ( d ) r e8( f)
  g4. c8 g4 f
  f e r c'
  h h h h
  c8( g) g4 r g
  a4. d8 d( c) c( h)
  c2 r4
  \bar "|."
}

alt = \relative c' {
  \repeat volta 2 {
    c4
    e2 e4 d
    d c s e
    f2 f
    e s4 e
    f2 f
    e2 s4
  }
  c
  h c d c
  c h s c
  h c d c
  c h s c4
  e2 e4 d
  d c s e
  f2 f
  e s4 e
  f2 f
  e2
}

ten = \relative c' {
  \key c \major
  \clef bass
  \repeat volta 2 {
    g4 ~
    g2 g ~
    g4 ~ g r g ~
    g2 d
    g4 e r c'
    a2 g4 g
    g2 r4
  }
  g4 ~
  g2 g
  g2 r4 g
  g2 g
  g r4 g
  g2 g ~
  g4 ~ g r g ~
  g2 d
  g4 e r c'
  a2 g4 g
  g2 r4
}

bas = \relative c {
  \repeat volta 2 {
    c4 e2 c4 g
    h c s c
    g2 ~ g
    c2 s4 c
    f2 g, c s4
  }
  c4 g2 h4 c
  g2 s4 c
  g2 h4 c
  g2 s4 c
  e2 c4 g
  h c s c
  g2 ~ g
  c2 s4 c
  f2 g, c
}

Akk=
\chordmode {
  c4
  c2 s4 g:7
  g:7 c s c
  g1:7 c
  f2 g:7
  c2 s4
  c g c g:7 c
  c g s c
  c g c g:7
  c g s c
  c2 s4 g:7
  g:7 c s c
  g1:7 c
  f2 g:7
  c
}

Struktur =
{
  \override Score.NonMusicalPaperColumn.page-break-permission = ##f
  \override Score.SpacingSpanner.common-shortest-duration = #(ly:make-moment 1/12)
  \override PianoStaff.VerticalAxisGroup.staff-staff-spacing =
  #'((basic-distance . 16)
     (padding . 6))
  \tempo 4=88
}

lyr = \lyricmode {
  O Herr, ich bin nicht wür -- dig,
  o Herr, ich bin nicht wür -- dig,
  zu dei -- nem Tisch zu __ gehn.
  O stil -- le mein Ver -- lan -- gen,
  du See -- len -- bräu -- ti -- gam,
  dich wür -- dig zu emp -- fan -- gen,
  dich wür -- dig zu emp -- fan -- gen,
  dich, wah -- res O -- ster -- lamm!
}

lyrii = \lyricmode {
  Du a -- ber mach mich wür -- dig,
  du a -- ber mach mich wür -- dig,
  er -- hör mein kind -- lich Flehn!
}

kopf=\header {
  title = \myTitel
  subtitle = "GL 710/9 (alt: 801)"
  subsubtitle = ##f
  %opus = "Notensatz: lilypond.miraheze.org"
  composer = \markup \right-column {  "M: Michael Haydn (1737-1806) 1795" "Notensatz: lilypond.miraheze.org" }
  poet = \markup \right-column { "T: Franz Seraph von Kohlbrenner""(1728-1783) 1777" }
}

\bookpart {
  \paper {
    top-margin = 20\mm
    ragged-right = ##f
    ragged-last = ##f
    ragged-bottom = ##t
    ragged-last-bottom = ##t
    bottom-margin = 25\mm
    indent = #0
    line-width = 160\mm
    print-all-headers = ##t
    #(include-special-characters)
    print-first-page-number = ##t
    first-page-number = #1
    oddFooterMarkup = ##f
    evenFooterMarkup = ##f
    oddHeaderMarkup = #oddFooterMarkup
    evenHeaderMarkup = #evenFooterMarkup
    markup-system-spacing.padding = #4
    system-system-spacing.padding = #5
    markup-markup-spacing.padding = #1
  }
  \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
          >>
        >>
      >>
    >>
    \kopf
  }
}