lilypond-user
[Top][All Lists]
Advanced

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

Re: tag issue


From: mskala
Subject: Re: tag issue
Date: Sat, 13 Apr 2019 06:42:45 -0400 (EDT)
User-agent: Alpine 2.20 (LNX 67 2015-01-07)

On Sat, 13 Apr 2019, Gianmaria Lari wrote:
>         \tag #'testOne a 
>   \tag #'testTwo b
> ~
>   \tag #'testOne a 
>   \tag #'testTwo b
>
>       }
>
>
> But then why lilypond removes the tie? Shouldn't just remove the expression
> following testTwo that is "b" ?

The tie is not a separate object.  The tie is part of the first b and that
b is tagged with testTwo.  So when everything tagged testTwo is removed,
the b is removed, and the tie disappears.

This issue is another aspect of the fact that LilyPond "music" is data,
not code, and cannot contain real conditionals.  It's also related to why
one writes "a( b c)" to slur all three notes together, not "(a b c)".
The parentheses do NOT designate a syntatic group as they do in pretty
much all real programming languages including Scheme; in LilyPond, a
parenthesis is a modification to the properties of the preceding note.

-- 
Matthew Skala
address@hidden                 People before tribes.
https://ansuz.sooke.bc.ca/

reply via email to

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