Orgel Vorspiel C Dur No 6/score

Zur Navigation springen Zur Suche springen

Lilypond Score

\version "2.20.0"
\language "deutsch"
myTitel = "Orgel Präludium C-Dur"
mycomp=\markup \line \fontsize #0 {
  "T&M: Geistliche Volkslieder 1830"
}

#(use-modules (scm accreg))
myBlue = #(x11-color 'sienna4)

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
  \key c \major
  < c g e >2 < c a f >
  < c g e > < h g d >
  < c g e > c,4 e
  < g d h >2 < g e c >
  < g d h > < fis d a >
  < g d h > r
  < e c > < g e >
  <<
    {
      f2
    }
    \\
    { a,4 h }
  >>
  < e c >2
  < a f > < g e >
  q
  <<
    {
      fis2
    }
    \\
    { d4 c }
  >>
  < a' c, >2 < g h, >
  < gis h, > < h d, >
  q < a c, >
  q < h d, >4 < c e, >
  q2 < h d, >
  g4 a h d
  < d f, >2 < c e, >
  < c a > < a f >
  <<
    {
      a4 as
    }
    \\
    { f2 }
  >>
  < g e >2
  < a f > < h d, >
  < c e, > < d f, >
  < c e, > < h d, >
  < d f, >1
  < c e, >
  \bar "|."
}

alt = \relative c' {

}

ten = \relative c {
  \key c \major
  \clef bass
  c2 f c g c r
  g c g d'
  g, g'4 h R1 R1
  f4 a c2
  d,1 g, e'
  a, d g,
  h'2 g
  g4 h c2
  f,1
  c'2 c,
  f4 e d g
  c, e f a
  g1
  g2 a4 h
  c1
}

bas = \relative c {

}

Akk=
\chordmode {
  s4
}

Struktur =
{
  \override Score.NonMusicalPaperColumn.page-break-permission = ##f
  %\override Score.SpacingSpanner.common-shortest-duration = #(ly:make-moment 1/26)
  %\override PianoStaff.VerticalAxisGroup.staff-staff-spacing.padding = #7
}

kopf=\header {
  title = \markup \line
  {
    \myTitel
  }
  subtitle = "&numero; 6"
  subsubtitle = ##f
  poet = "Notensatz: lilypond.miraheze.org"
  composer = ##f
  piece = ##f
}

\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
  }
  \kopf
  \score
  {
    <<
      \new PianoStaff="leadsheet"
      <<
        \new Staff="Discant"
        <<
          \new Voice="Alt" { \sop }
          \new Voice { \voiceTwo \alt }
        >>
        \new Staff="Bass"
        <<
          \new Voice { \ten }
          \new NullVoice \Struktur
        >>
      >>
    >>
  }
  \score
  {
    <<
      \new PianoStaff="leadsheet"
      <<
        \new Staff="Discant"
        <<
          \new Voice="Alt" {
            \mark \markup "G-Dur"
            \transpose c g \sop
          }
          \new Voice { \voiceTwo \alt }
        >>
        \new Staff="Bass"
        <<
          \new Voice { \transpose c g, \ten }
          \new NullVoice \Struktur
        >>
      >>
    >>
  }
  \score
  {
    <<
      \new PianoStaff="leadsheet"
      <<
        \new Staff="Discant"
        <<
          \new Voice="Alt" {
            \mark \markup "D-Dur"
            \transpose c d \sop
          }
          \new Voice { \voiceTwo \alt }
        >>
        \new Staff="Bass"
        <<
          \new Voice { \transpose c d \ten }
          \new NullVoice \Struktur
        >>
      >>
    >>
  }
  \score
  {
    <<
      \new PianoStaff="leadsheet"
      <<
        \new Staff="Discant"
        <<
          \new Voice="Alt" {
            \mark \markup "A-Dur"
            \transpose c a, \sop
          }
          \new Voice { \voiceTwo \alt }
        >>
        \new Staff="Bass"
        <<
          \new Voice { \transpose c a, \ten }
          \new NullVoice \Struktur
        >>
      >>
    >>
  }
  \score
  {
    <<
      \new PianoStaff="leadsheet"
      <<
        \new Staff="Discant"
        <<
          \new Voice="Alt" {
            \mark \markup "F-Dur"
            \transpose c f \sop
          }
          \new Voice { \voiceTwo \alt }
        >>
        \new Staff="Bass"
        <<
          \new Voice { \transpose c f, \ten }
          \new NullVoice \Struktur
        >>
      >>
    >>
  }
  \score
  {
    <<
      \new PianoStaff="leadsheet"
      <<
        \new Staff="Discant"
        <<
          \new Voice="Alt" {
            \mark \markup "B-Dur"
            \transpose c b, \sop
          }
          \new Voice { \voiceTwo \alt }
        >>
        \new Staff="Bass"
        <<
          \new Voice { \transpose c b, \ten }
          \new NullVoice \Struktur
        >>
      >>
    >>
  }
  \score
  {
    <<
      \new PianoStaff="leadsheet"
      <<
        \new Staff="Discant"
        <<
          \new Voice="Alt" {
            \mark \markup "Es-Dur"
            \transpose c es \sop
          }
          \new Voice { \voiceTwo \alt }
        >>
        \new Staff="Bass"
        <<
          \new Voice { \transpose c es \ten }
          \new NullVoice \Struktur
        >>
      >>
    >>
  }
  \score
  {
    <<
      \new PianoStaff="leadsheet"
      <<
        \new Staff="Discant"
        <<
          \new Voice="Alt" {
            \mark \markup "As-Dur"
            \transpose c as, \sop
          }
          \new Voice { \voiceTwo \alt }
        >>
        \new Staff="Bass"
        <<
          \new Voice { \transpose c as, \ten }
          \new NullVoice \Struktur
        >>
      >>
    >>
  }
}

\include "articulate.ly"

alle =
\score {
  \new StaffGroup
  <<
    \new Staff {
      \new Voice {
        \set Staff.midiInstrument = "Church Organ"
        \sop
      }
    }
    \new Staff {
      \new Voice {
        \set Staff.midiInstrument = "Church Organ"
        \clef bass
        \ten
      }
    }
  >>
}

\make-midi-list "pre6" \alle #'(80 86 72)
%\alle