\version "2.24.0"

% W. A. Mozart, Requiem K. 626 — Lacrimosa, bars 1–8.
% Only the notes Mozart wrote: violins I/II and viola in bars 1–2;
% soprano, alto, tenor, bass and the bass line (continuo) in bars 3–8.
% Nothing else (no editorial orchestration).
%
% Sources (both public domain; see sources/README.md):
%   [B] Mozarts Werke, Serie 24 Supplement, Requiem, Breitkopf & Härtel 1877,
%       ed. J. Brahms, pp. 51–52. Parts marked (M.) = Mozart are used here.
%   [A] Partitur der ... von W. A. Mozart's Requiem ... wie solche Mozart
%       eigenhändig geschrieben, ed. J. A. André, Offenbach 1829, pp. 33–34.
% Notes follow [B]; dynamics follow [A], which prints only what Mozart wrote
% ([B] adds an editorial f at bar 8).
% Variant: bass voice, bar 3, 3rd note — [B] d, [A] a,. [B]'s d is used; the a,
% was auditioned and judged out of place by ear (project owner, 2026-11-22).
% Modern clefs are used in place of the sources' C clefs.

global = {
  \key d \minor
  \time 12/8
}

violinI = {
  r8 cis''8(\p d''8) r8 a''8( bes''8) r8 d''8( cis''8) r8 c'''!8( bes''8) |
  r8 a''8( d'''8) r8 bes''8( g''8) r8 e''8( f''8) r8 a''8( cis''8) |
  R1.*6 \bar "|."
}

violinII = {
  f'4\p r8 a'4 r8 g'4 r8 cis''4 r8 |
  d''4 r8 e'4 r8 d'4 r8 g'4 r8 |
  R1.*6 \bar "|."
}

viola = {
  d'4\p r8 f'4 r8 e'4 r8 g'4 r8 |
  f'4 r8 g4 r8 a4 r8 a4 r8 |
  R1.*6 \bar "|."
}

soprano = {
  R1.*2 |
  a'4.\p ~ a'8( f''8) d''8 d''4. cis''8 r8 r8 |
  a'4. ~ a'8( f''8) d''8 d''4. cis''8 r8 r8 |
  d'8 r8 r8 e'8 r8 r8 f'8 r8 r8 g'8 r8 r8 |
  a'8 r8 r8 b'8 r8 r8 c''8 r8 r8 d''8 r8 r8 |
  ees''4.\cresc e''4. f''4. fis''4. |
  g''4. gis''4. a''4. a'8\! r8 r8 \bar "|."
}

alto = {
  R1.*2 |
  f'4.\p ~ f'8( d'8) a'8 g'4. g'8 r8 r8 |
  f'4. ~ f'8( d'8) a'8 g'4. g'8 r8 r8 |
  a8 r8 r8 cis'8 r8 r8 d'8 r8 r8 e'8 r8 r8 |
  f'8 r8 r8 b8 r8 r8 e'8 r8 r8 g'8 r8 r8 |
  g'4.\cresc g'4. f'4. a'4. |
  g'4. d''4. d''4. cis''8\! r8 r8 \bar "|."
}

tenor = {
  R1.*2 |
  d'4.\p ~ d'8( a8) f8 bes4. a8 r8 r8 |
  a4. ~ a4 f8 bes4. a8 r8 r8 |
  f8 r8 r8 a8 r8 r8 a8 r8 r8 c'8 r8 r8 |
  c'8 r8 r8 gis8 r8 r8 a8 r8 r8 b8 r8 r8 |
  c'4.\cresc c'4. c'4. ees'4. |
  d'4. f'4. f'4. e'8\! r8 r8 \bar "|."
}

bass = {
  R1.*2 |
  % bar 3, 3rd note: d in [B]; a, in [A] — d chosen (see header)
  d4.\p ~ d4 d8 e4. a,8 r8 r8 |
  d4. ~ d4 d8 e4. a,8 r8 r8 |
  d8 r8 r8 a,8 r8 r8 d8 r8 r8 c8 r8 r8 |
  f8 r8 r8 e8 r8 r8 a,8 r8 r8 g,8 r8 r8 |
  c4.\cresc bes4. a4. c'4. |
  b4. bes4. a4. a8\! r8 r8 \bar "|."
}

continuo = {
  R1.*2 |
  d4\p r8 f4 r8 e4 r8 a,4 r8 |
  d4 r8 f4 r8 e4 r8 a,4 r8 |
  d4 r8 a,4 r8 d4 r8 c4 r8 |
  f4 r8 e4 r8 a,4 r8 g,4 r8 |
  c4\cresc r8 bes4 r8 a4 r8 c'4 r8 |
  b4 r8 bes4 r8 a4 r8 a,4\! r8 \bar "|."
}

sopranoLyrics = \lyricmode {
  La -- cri -- mo -- sa di -- es il -- la,
  qua re -- sur -- get ex fa -- vil -- la
  ju -- di -- can -- dus ho -- mo re -- us.
}
altoLyrics = \sopranoLyrics
tenorLyrics = \sopranoLyrics
bassLyrics = \sopranoLyrics

\header {
  title = "Lacrimosa"
  subtitle = "Requiem K. 626 — bars 1–8 as left by Mozart"
  composer = "W. A. Mozart"
  tagline = ##f
}

\score {
  <<
    \new StaffGroup <<
      \new Staff \with { instrumentName = "Violino I" }
        { \global \violinI }
      \new Staff \with { instrumentName = "Violino II" }
        { \global \violinII }
      \new Staff \with { instrumentName = "Viola" }
        { \global \clef alto \viola }
    >>
    \new ChoirStaff <<
      \new Staff \with { instrumentName = "Soprano" }
        { \global \new Voice = "s" \soprano }
      \new Lyrics \lyricsto "s" \sopranoLyrics
      \new Staff \with { instrumentName = "Alto" }
        { \global \new Voice = "a" \alto }
      \new Lyrics \lyricsto "a" \altoLyrics
      \new Staff \with { instrumentName = "Tenore" }
        { \global \clef "treble_8" \new Voice = "t" \tenor }
      \new Lyrics \lyricsto "t" \tenorLyrics
      \new Staff \with { instrumentName = "Basso" }
        { \global \clef bass \new Voice = "b" \bass }
      \new Lyrics \lyricsto "b" \bassLyrics
    >>
    \new Staff \with {
      instrumentName = \markup \center-column { "Violoncello," "Basso," "Organo" }
     
    } { \global \clef bass \continuo }
  >>
  \layout { }
}

% Audio is rendered by scripts/render_sample.py with the protocol settings.
