\version "2.19.46"
\include "msJazz.ly"
\header {
  title = "The Narcoleptic Gnome"
  composer = "Matiss Schubert"
}

theMelody = \relative g' {
  \numericTimeSignature\time 4/4
  \key g \minor
  \repeat volta 2 {
    d8 g bes g a4 g8 fis |
    g8 a bes g a2 |
    d8 cis d ees d c bes a |
    g a bes g a g fis ees |
    d4 ees fis g4 |
    a8 bes a  g fis2 |
    d8 ees fis g a g fis ees |
    d1
  }
  \key g \major
  \repeat volta 2 {
    g2 a | b b8 c d4 |
    \times 2/3 {e8( g e)} d4 b8 c d4 |
    \times 2/3 {e8( g e)} d4 b8 c d4 |
    e2 fis4 e8 fis | <b, g'>4 <c a'> <d b'>2 |
    a'8 g fis e d c b a |
    g1
  }

}


theChords = \chordmode {

  \repeat volta 2 {
    g2:m s s s
    d:7 s s s
    s s s s
    s s s s
  }
  \repeat volta 2 {
    g d g s
    s s s s
    c d g4 d g2
    d s g s
  }

}
\score {
      <<
        \new ChordNames \theChords
        \new Staff \theMelody
        %\new TabStaff \transpose a a, \theMelody
        %\new Staff \acomp
      >>
}