Ça peut donner quelque chose comme :
\version "2.19.34"
Global = {
\numericTimeSignature
\key f\major
\time 4/4
}
LesAccords = \chordmode {
f4. fis8:m7.5- g4:m7 aes8:m7 a:m7 a2:m7
}
LaMelodie = \relative c'' {
\Global
%a4^"|" s8^"|"a16 c bes4^"|" b8^"|" c|
a4. a16 c bes4 b8 c |
c1 |
}
LaSyncope = {
% dummy notes to force regular note spacing
\repeat unfold 10 c8
}
\score {
<<
\new ChordNames \LesAccords
\new Staff
\with {
% hides staff and notes so that only the grid lines are visible
\override StaffSymbol.line-count = #0
\override VerticalAxisGroup.default-staff-staff-spacing =
#'((basic-distance . 0) (padding . -3))
\omit BarLine
\omit TimeSignature
\omit Clef
\hideNotes
}
\LaSyncope
\new Staff \LaMelodie
>>
\layout {
\context {
\Score
\consists "Grid_line_span_engraver"
\override GridLine.thickness = #4.0
}
\context {
\Staff
\consists "Grid_point_engraver"
gridInterval = #(ly:make-moment 3/8)
% set line length and positioning:
% two staff spaces above center line on hidden staff
% to four spaces below center line on visible staff
\override GridPoint.Y-extent = #'(4 . 0)
}
\context {
\ChordNames
\override ChordName.font-family = #'roman
\override ChordName #'font-size = #4
chordChanges = ##t
majorSevenSymbol = \markup "Maj7"
chordNameSeparator = \markup "/"
minorChordModifier = \markup "-"
}
}
}