Zwischenspiel G Moll/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 = "Zwischenspiel zur Kommunion"
mycomp=\markup \line \fontsize #0 {
  "nach Georg Neumark"
}

sop = \relative c' {
  \time 6/8
  \key b \major
  \override Slur.details.max-slope = #1
  \partial 4.
  d4.
  \repeat volta 2 {
    g8 a b a g fis
    b g b a4.
    g8 b g a8 g fis
    fis a b c4.
    r4 r8 f,8 g a
    f8 es d es g f
    d es f g a b
    g a b a g fis
  }
  \alternative
  {
    {
      g2. r4 r8
      \once \override LaissezVibrerTie.X-extent = #'(0 . 0)
      \once \override LaissezVibrerTie.details.note-head-gap = #(/ 4 -8)
      \once \override LaissezVibrerTie.extra-offset = #(cons (/ 4 8) -.2)
      d4._\laissezVibrer
    }
    {
      g2. r4 r8
    }
  }
  a8 c a
  \repeat volta 2 {
    
    b d b c es c
    d c b d c b
    c d es c es c
    d4. d8 es f
    c es c b d b
    a c a b a g
  }
  \alternative
  {
    {
      b8 a g
      a b c a fis a
    }
    {
      b8 a g
      a g fis g4.
    }
  }
  \bar "|."
}

alt = \relative c' {
  d4. ~
  \repeat volta 2 {
    d2. d
    es4. es d d
    s4. d c2.
    b4. b d2.
  }

  \alternative {
    { d2. s4. s }
    { d2. s4. }
  }
  fis4.
  \repeat volta 2 {
   g f f g
    g4. f f f
    es4. f ~ f es
  }
  \alternative {
    { d4. fis d }
    { d4. d d }
  }
}

ten = \relative c' {
  \key b \major
  \clef bass
  r4.
  \repeat volta 2 {
    b a4. g fis
    b4. c a fis
    f!4. b g2.
    f4. g b fis
  }
  \alternative {
    { b4. c b r }
    { b2. r4 r8 }
  }
  d4.
  \repeat volta 2 {
    d4. c b b ~
    b4. a b \breathe b
    g4. b c g
  }
  \alternative {
    { b4. c a }
    { b4. a b4. }
  }
}

bas = \relative c' {
  \override Fingering.direction = #UP
  s4.
  \repeat volta 2 {
    g fis4. d2.
    es4. c d2.
    s4. d c2.
    b4. es d2.
  }
  \alternative {
    { g2. s4. s }
    { g2. fis4. }
  }
  d4.
  \repeat volta 2 {
    g a f g
    es4. f d b
    c4. d f es
  }
  \alternative {
    { g4. fis ~ fis }
    { g4. fis g }
  }

}

Akk=
\chordmode {
  g4.:m
  g4.:m d g:m d
  es4. c:m d s
  s b4. c2.:m
  b4. es g:m d
  g2.:m s g:m s4.
  d4. g:m f b g:m
  es4. f b s4.
  c4.:m b f es
  g4.:m d d
  g:m d g:m
}

Struktur =
{
  \override Score.NonMusicalPaperColumn.page-break-permission = ##f
  \override PianoStaff.VerticalAxisGroup.staff-staff-spacing.padding = #6
}

kopf=\header {
  title = \myTitel
  subtitle = "nach „Wer nur den lieben Gott lässt walten“"
  subsubtitle = ##f
  poet = "Notensatz: lilypond.miraheze.org"
  composer = \markup { #mycomp }
  piece = ##f
}

%ccc=
\bookpart {
  \paper {
    top-margin = 25\mm
    ragged-right = ##f
    ragged-last = ##f
    ragged-bottom = ##t
    ragged-last-bottom = ##t
    bottom-margin = 15\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 = #6
    system-system-spacing.padding = #6
    system-system-spacing.basic-distance = #18
    markup-markup-spacing.padding = #2
  }
  \kopf
  \score
  {
    <<
      \new ChordNames \Akk
      <<
        \new PianoStaff="leadsheet"
        <<
          \new Staff="Discant"
          <<
            \new Voice="Alt" { \voiceOne \sop }
            \new Voice { \voiceTwo \alt }
          >>
          \new Staff="Bass"
          <<
            \new Voice { \voiceOne \ten }
            \new Voice { \voiceTwo \bas }
            \new NullVoice \Struktur
          >>
        >>
      >>
    >>
  }
}