Il faut séparer mélodie et coda, par ex. :
\version "2.18.2"
global = {
\key g \major
\time 4/4
}
thoseChords = \chordmode {
\global
c2 g2
d2 e4:m7 s4
c2 g2
d2 s4 e4:m7
c2 g2
d2 g2
e2:m7 c2:2
d2 g2
g2 c2
d2 e2:m
c2 g2
}
melody = \relative c' {
\global
r2 r4 a'8 b8 %30
c8 c8 b8 b8~b8 a8 g8 c8~ %31
c8 b4 a8~a4 b8 b8 % 32
\bar ".|:"
b8 b8 b8 g8~g4 g8 g8 %33
f8 f8 f4 g4 r8 g8 %34
b8 d8 d8 d8~d8 c8 b4 %35
a8 b8 c4 b4 r8 d8 %36
d8 e8 f8 g8~g8 f8 e4 %37
d8 e8 d4 b4 r8 g8 %38
g8 g8 g8 g8~g8 g8~g8 c8 %39
(c8) b4 a8~a4 b8 b8 \bar ":|." %40
\stopStaff s1
% transition pour changer le rythme
%r2 r4 b8 d8 e4. d4. c4~c4 r4 d8 d8 d4 e1
}
coda = \relative c' {
\global
% transition pour changer le rythme
r2 r4 b8 d8 e4. d4. c4~c4 r4 d8 d8 d4 e1
}
\score{
\new StaffGroup
<<
\new ChordNames {
\thoseChords
}
\new Staff {
\new Voice = "one" {
\global
\melody
}
}
>>
\layout {
\context {
\TabStaff
\omit Clef
}
}
}
\score{
\new StaffGroup
<<
\new Staff {
\new Voice = "one" {
\global
\coda
}
}
>>
\layout {
\context {
\Staff
\remove System_start_delimiter_engraver
instrumentName = \markup\center-column { \large\musicglyph
#"scripts.coda" \vspace #.3 C O D A }
}
\context {
\TabStaff
\omit Clef
}
}
}
Cordialement,