[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: changePitch and ties
From: |
Gilles THIBAULT |
Subject: |
Re: changePitch and ties |
Date: |
Mon, 14 Mar 2011 00:24:14 +0100 |
changePitch at http://gillesth.free.fr/Lilypond/changePitch/changePitch.ly
defineTransform in LSR 346
However, each has its deficiencies, and I now need to code some music which
neither of these utils can handle. The rhythmic pattern to be repeated
>involves ties. 346 handles these but changePitch doesn't.
Sorry to answer so late.
With changePitch and ties, you can use the function \samePitch.
It is ( shortly ) discribed in section 6) of the doc of \changePitch :
http://gillesth.free.fr/Lilypond/changePitch/change-pitch-doc.pdf
%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include "changePitch.ly"
pattern = { \samePitch {c2 ~ c8} c4. }
\changePitch \pattern
{ <c'e'>^\markup{Ok now} <d'f'> <e'g'> <f'a'> }
%%%%%%%%%%%%%%%%%%%%%%%%%%
Gilles