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. 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

<<attachment: tiesCopied.preview.png>>

Attachment: tiesCopied.ly
Description: Binary data

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to