\version "2.24.3"
\language "english"

\header {
  title = "Andro_maitre_de_maison"
  copyright = "site internet diatofiddle - MTM"
}

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

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

global = {
  \key c \major
  \numericTimeSignature
  \time 2/4
}

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

flute = \relative c'' {
  \global
  % En avant la musique.
  c4 c8 c b4. c8 b4 g a2 c4 c8 c d4. c8
  b4 g a2 \break a4 b c c d e e d 
  c c8 b a4.c8 b4 g e2 \break a4 b c c 
  d e e d c c8 b a4. c8 b4 g a2
}

chordsPart = \new ChordNames \chordNames

flutePart = \new Staff \with {
  instrumentName = "Fl."
  midiInstrument = "flute"
} \flute

names = \new NoteNames {
  \set printNotesLanguage = "français"
  \flute
}

\score {
  <<
    \chordsPart
    \flutePart
    \names
  >>
  \layout { }
}
\score {
  <<
    \chordsPart
   \transpose c c, \flutePart
   \names
  >>
  \layout { }
}
\score {
  <<
    \chordsPart
    \flutePart
  >>
  \midi { \tempo 4=100  }
}