\version "2.24.4"
\language "english"

\header {
  title = "Bal Limousine mtm"
}

\paper {
  % Add space for instrument names
  indent = 23\mm
}

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

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

chordNames = \chordmode {
  \global
  % Ajouter ici des  chiffrages.
  \repeat volta 2 {
  a2. e a e a e a a  
  }
  \repeat volta 2 { 
  e e a a e e a a  
  }
}

oboe = \relative c'' {
  \global
  % En avant la musique.
  \repeat volta 2 { 
  a4 e' c b2 c4 a e' d8 c b c b4 g a2 e4 g8 a b4 c a b g a2.
  }
  \break
  \repeat volta 2 { 
  b4. c8 d e b2 d4 c8 b a g a b c4 a e' b4. c8 d e b2 d4 c8 b a4 g a2.
  }
}

chordsPart = \new ChordNames \chordNames

oboePart = \new Staff \with {
  instrumentName = "Ut"
  midiInstrument = "oboe"
} \oboe
%
\markup " en Em"
\score {
  <<
   \transpose a e  \chordsPart
   \transpose a e  \oboePart
  >>
  \layout { }
}
\markup " en Am"

\score {
  <<
    \chordsPart
    \oboePart
  >>
  \layout { }
}

\score {\unfoldRepeats 
        {
  <<
   \transpose a e  \chordsPart
   \transpose a e  \oboePart
  >>
  <<
    \chordsPart
    \oboePart
        >>}
        
  \midi {    \tempo 4=160 }
}
