\version "2.24.1"
\language "english"

\header {
  title = "Valse Le temps des cerises"
  subsubtitle = "http://loffet.nom.fr/tablat/tab96.gif"
}

\paper {
  #(set-paper-size "a5")
}

\layout {
  \context {
    \Voice
    \consists "Melody_engraver"
    \override Stem. #'neutral-direction = #'()
    \consists "Ambitus_engraver"
  }
}

global = {
  \key a \minor
  \numericTimeSignature
  \time 3/4
  \tempo 4=120
}

chordNames = \chordmode {
  \global
  % Ajouter ici des chiffrages.
  s2. g g d d g g c
  c g g d g c c c
  g g e a d d g e 
  a d g e d g g 
}

clarinet = \relative c' {
  \global
  \transposition bf
  % En avant la musique !
  r2 d4 g g g g2 g4 a4 a a a2 a4 b b b b2 b4 c4 c c c2 c4
  b4 b c b2. a2. g2 g4 c4 c c c2 c4 c4 e c c b b b b b 
  d2 b4 b a g a2. ~ a2 d,4 g g g g2 g4 a4 a a a2 a4 
  b4 b b d b b a2 f4 g2.~ g2 r4
}

chordsPart = \new ChordNames \chordNames

clarinetPart = \new Staff \with {
  instrumentName = "Cl."
  midiInstrument = "clarinet"
} \clarinet

\score {
  <<
    \chordsPart
    \clarinetPart
  >>
  \layout { }
}
ticks =\new Staff \with {
  midiInstrument = #"woodblock"
} \relative c' {
  \repeat volta 6 {c4}
}
 \score { \unfoldRepeats {
   \ticks
  <<
    \chordsPart
    \clarinetPart
          >>}

  \midi { }
}