lilypond-devel
[Top][All Lists]
Advanced

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

Proposal for selective ties in chords.


From: Heikki Johannes Junes
Subject: Proposal for selective ties in chords.
Date: Fri, 3 May 2002 03:41:39 +0300 (EET DST)

Below is a proposal for entering selective ties in chords. That syntax is
very compact while it uses the least amount of characters for tying.

% The current syntax, as shown in the next line, ties all common notes:
chrdA = \notes { <cis8 a cis'>~<e a cis' e'> }

% In order to tie only one note, the following syntax would be valuable:
chrdB = \notes { <cis8 a cis'> <e a ~cis' e'> }

% For symmetricity, one could also put '~':s inside the first chord:
chrdC = \notes { <cis8 a~ cis'> <e a cis' e'> }

% Let's look the paper output in the current state (1.5.54.uu1):
\score {
    \notes { \context Voice = i { 
        \repeat unfold 2 { \chrdA } r2 % A, works. :)
        \repeat unfold 2 { \chrdB } r2 % B, ties all notes, not only one. :/
        \repeat unfold 2 { \chrdC } r2 % C, ties notes in the wrong side. :(
    }}
    \paper{}
    \midi{} % (to be tied or not to be tied, that's the question here) 
}

Case A works already. 
It would be intuitive, that case B tied only one note. 
Case C was broken.

--
      Heikki Junes




reply via email to

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