lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

\copyArticulations copies not only articulations


From: Henning Plumeyer
Subject: \copyArticulations copies not only articulations
Date: Wed, 3 Oct 2012 11:13:22 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

In the following example the function \copyArticulations which can be
found at
http://gillesth.free.fr/Lilypond/copyArticulations/copyArticulations.ly
copies the _ties_ from the original music. I don't regard ties as
articulation. How can the function be improved so that it ignores ties?
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%
\version "2.16.0"
\include "copyArticulations.ly"
{
  \copyArticulations
  % no articulation included but music has tied notes
  { c ~ c c ~ c }
  % ties (not slurs!) get copied here
  { a' a' a' b' }
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%
Lilypond tries to copy the second tie also which does not work as the
destination notes are not the same. You get the warning
...
tiesCopied.ly:9:10: warning: unterminated tie
  { a' a'
          a' b' }
...
 
The reason I ask is that I have several parts with nearly the same rhythm
and articulation. But when the "master" part has tied notes where the
other parts have not I run into problems.
 
Henning




reply via email to

[Prev in Thread] Current Thread [Next in Thread]