[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange behaviour (bug?) with multiple overlapping DynamicTexts and
From: |
David Kastrup |
Subject: |
Re: Strange behaviour (bug?) with multiple overlapping DynamicTexts and override on Fingering |
Date: |
Mon, 10 Jun 2013 07:38:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
"Jan Rosseel" <address@hidden> writes:
> While doing this, I came across some really weird behavior. This is
> either a bug, or I am not understanding Lilypond enough.
The latter.
> The code below results in having four stacked dynamic texts under the
> third note. Maybe not exactly what is expected (I'd expect Lilypond to
> detect the overlapping dynamics), but I can live with that.
The overlapping dynamics would be detected if they were in the same
voice.
> The weird thing is , if one adds an override to color the fingering
> indications (uncomment the line in the editTwo block), then one not
> only has the colored fingerings as expected, but one also loses one of
> the dynamic texts! See also the warnings that Lilypond spits out on
> this: it is as if the override on an unrelated object type suddenly
> allows Lilypond to detect the overlapping dynamic events.
You are getting a new implicit Voice started for each skip parallelly in
a Staff, while the override is established in an existing voice which is
then continued to be used.
"When should I start a new implicit Voice?" is a question that LilyPond
answers with heuristics that allow it to proceed in a reasonable way for
most cases.
Just not all...
> \score {
> <<
> \new Staff
> {
Try putting a \new Voice here, before the <<
> <<
> \melody
> \editOne
> \editTwo
> \editThree
>>>
--
David Kastrup