\header {
  enteredby = 	"Allen Garvin";
  maintainer = 	"Allen Garvin";
  copyright = 	"Public Domain";
  filename = 	"anna-magdalena-05.ly";
  title = 	"Menuet";
  opus = 	"BWV Anh. 115";
  composer =	"Johann Sebastian Bach (1685-1750)";
  style =	"Baroque";
  source =	"Bach-Gesellschaft";
  lastupdated =	"2001/Apr/01";

  mutopiainstrument = "Harpsichord,Clavichord";
  mutopiatitle =      "Menuet";
  mutopiacomposer =   "J. S. Bach (1685-1750)";
  mutopiaopus =       "BWV Anh. 115";
  tagline =           "\\parbox{\hsize}{\\thefooter\\quad\\small \\\\This music is part of the Mutopia project, \\texttt{http://www.mutopiaproject.org/}\\\\It has been typeset and placed in the public domain by " + \maintainer + ".\\\\Unrestricted modification and redistribution is permitted and encouraged---copy this music and share it!}";
  footer =            "Mutopia-2001/04/01-76";
}

\version "1.3.117";

voiceone = \notes \relative c''' {
  \key g \minor;
  \time 3/4;
  \clef "treble";

  \repeat "volta" 2 {
    bes4 a g |
    a d, d |
    g [g,8 a bes c] |
    d2. |
    ees4 [f8 ees d c] |
    d4 [ees8 d c bes] |
    c4 [d8 c bes c] |
    a2.\prall |
    bes'4 a\prall g |
    a d, d |
    g [g,8 a bes c] |
    d2. |
    f4\mordent [g8 f ees d] |
    ees4 [f8 ees d c] |
    d4 g c,\prall |
    < { \stemUp bes2. \stemBoth } 
      { \context Voice=ii { < \stemDown { <f2. d> } > } }
    > |
  }
  \repeat "volta" 2 { 
    d4 [bes8 c d e!] |
    f4 g a |
    bes [g8 a bes g] |
    a4 [g8 a] f4 |
    [f,8 g a bes c d] |
    ees4 d c |
    f bes, a |
    bes2. |
    g4 [d'8 c] d4 |
    g, [ees'8 d] ees4 |
    [g,8 d' fis, c' g bes] |
    a2 r4 |
    [d,8 e fis g a bes] |
    c4 bes a |
    [bes8\prall c16 d] g,4 fis |
    < { \stemUp g2. \stemBoth }
       { \context Voice=ii { < \stemDown { <d2. bes> } > } } 
    > |
  }
}

voicetwo = \notes \relative c' {
  \clef "bass";
  \time 3/4;
  \key g \minor;

  \repeat "volta" 2 {
    g2. |
    f |
    ees |
    d4 [d'8 c bes a] |
    <g2 bes> a4 |
    bes2 g4 |
    a fis g |
    d [d'8 c bes a] |
    g2. |
    f |
    ees |
    d4 [d'8 c b a] |
    <d2 b> g,4 |
    c a f |
    bes ees, <f a> |
    bes bes,2 |
  }
  \repeat "volta" 2 {
    bes'2. |
    a4 g f |
    g e c |
    f2 r4 |
    a g f |
    g f ees |
    d ees f |
    bes, d' c |
    <d2. b> |
    c |
    bes4 a g |
    d' [a8 g fis e] |
    d2 r4 |
    ees d c |
    bes c d |
    g g,2 |
  }
}
 
    
\score {
  \notes \context GrandStaff < 
    \context Staff = one <
      \voiceone
    >
    \context Staff = two <
      \voicetwo
    >
  >

  \paper{ linewidth = 18.0 \cm; }
  \midi { \tempo 4 = 140; }
}

