Well, i don't know if it is excatly what Peter needs, but with the last version of "changePitch.ly", available here :Sorry, Peter, I don't have a solution for you. But I am quite sure someone else has :-)
http://lsr.dsi.unimi.it/LSR/Item?u=1&id=654 you can avoid to repeat several times a chord : %%%%%%%%%%%%%%%% \include "changePitch.ly"
melody = \relative {
c4 d e f g f e d c d e f g f e2
b4 c d e f e d c b c d e f e d e
c1
}
patI = \samePitch { c1 c1 c1 c1}
%% \cPI will automatically repeat 4 times each chords
\score {
<<
\new ChordNames {
\cPI { <c e g> <g b d'>}
<c e g>1
}
\new Staff \melody
>>
}
%%%%%%%%%%%%%%%%
(a small doc in pdf format is also available here :
http://gillesth.free.fr/Lilypond/changePitch/ )
Note too, that I have heard (in the lilypond-devel list) of a new symbol :
"q" that will allow to remplace the previous chord. I don't know if it is
already available in the last 2.13 version
Gilles
<<attachment: changePitch.png>>
_______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
