[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ties over several notes
From: |
Gilles |
Subject: |
Re: ties over several notes |
Date: |
Sat, 16 Feb 2013 00:30:21 +0100 |
User-agent: |
KMail/4.8.5 (Linux/3.4.24-desktop-3.mga2; KDE/4.8.5; x86_64; ; ) |
Le vendredi 15 février 2013 11:38:08 Kieren MacMillan a écrit :
> Hi Stefan,
>
> > is there a way to connect several notes with ties with just one command?
>
> I think the Completion_heads_engraver does this for you.
> http://lilypond.org/doc/v2.17/Documentation/internals/completion_005fheads_0
1-
If you have several times the same rhythms and ties, you can perhaps use the
function \changePitch described here :
http://lsr.dsi.unimi.it/LSR/Item?id=654
[ There is a doc here :
http://gillesth.free.fr/Lilypond/changePitch/ ]
%%%%%%%%%
patI = \samePitch { c8~ c4. ~ c2~ c8 }
\relative {
c4.
\cPI d
e
}
2-
If you have several times the same number of ties but with different rhythms,
you can use rather \copyArticulations
snippet : http://lsr.dsi.unimi.it/LSR/Item?id=769
download link : http://gillesth.free.fr/Lilypond/copyArticulations/
%%%%%%%%%%%%%%
artiI = { c~ c~ c~ c}
\relative {
c4. \cAI { d8 d4. |
d2 d8 } e4.
}
But perhaps this one is not very quicker, here.
--
Gilles