Bonsoir,
chez moi votre script LilyPond fonctionne
timidity auss, sortie TiMidity port 0
Est-ce mieux ainsi :
%%%%%%
intro = \relative c'' {
\key g \major
\time 4/4
g,4 g' g g | g, g' g g |
}
musique = \relative c'' {
\key g \major
\time 4/4
s1 | s1 |
\repeat volta 2 {
g4 a b c | d2 d |
}
}
\score {
\musique
\layout{}
}
\score {
\unfoldRepeats
<<
\new Staff \with { midiInstrument = "woodblock" } \intro
\new Staff \with { midiInstrument = "acoustic grand" } \musique
>>
\midi{ \tempo 4=120 }
}
%%%%%%%%%%%%%%
perso je fais comme ceci
%%%%%%%%%%%%%%%
pulse = \new Staff \with { midiInstrument = "woodblock"}
{ \tempo 4 = 120 g4 g' g' g' }
music = \new Staff \with { midiInstrument = "oboe" }
\relative c' { c e g c g e c }
\score {
\relative c' { \pulse \music }
\midi { }
}
%%%%%%%%%%%%%%%