bug-lilypond
[Top][All Lists]
Advanced

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

Re: Volta makes breath mark position wrong


From: Thomas Morley
Subject: Re: Volta makes breath mark position wrong
Date: Wed, 23 May 2018 10:01:49 +0200

2018-05-23 1:27 GMT+02:00 Thomas Morley <address@hidden>:
> 2018-05-23 0:54 GMT+02:00 David Kastrup <address@hidden>:
>> Thomas Morley <address@hidden> writes:
>>
>>> 2018-05-22 15:12 GMT+02:00 Arkhipenko Alexey <address@hidden>:
>>>> Wow! Thanks a lot for your reply!
>>>>
>>>> Is it a new bug or existing one?
>>>>
>>>> Do you think that fixing this volta position bug will fix breath mark
>>>> position? Can you run my code in the version that does not have volta
>>>> position bug?
>>>>
>>>> Best regards,
>>>> Alexey Arkhipenko.
>>>
>>> I didn't find something directly related on the bug tracker.
>>>
>>> Your code compiled with 2.12.3 will return correctly placed
>>> VoltaBracket and BreathingSign.
>>
>> I doubt that this is really traceable by dissection on this particular
>> case: the problem occurs when the line containing the breath mark is
>> getting extensively stretched and the breath mark gets pulled forward
>> across the note it should be preceding.
>>
>> So you need an extreme line break situation to show the problem, and
>> different versions pack the lines differently.  So I doubt that the
>> "right" or "wrong" outcome you see depends on an actual breath-related
>> code passage but rather on how this particularly example is spread
>> across lines (or not) in the different LilyPond versions.
>>
>> --
>> David Kastrup
>
>
> You may be right for the BreathingSign, not sure for the wrongly
> placed VoltaBracket, though.
> I'll do more experiments tomorrow.
>
> Cheers,
>   Harm

The code below doesn't stretch anything nor is there a line-break at
all (the colored notes should be covered by the VoltaBracket):

\relative c
<<
  \new Staff \repeat unfold 2 c'1
  \new Staff {
     \repeat volta 1 { f2. \breathe }
     \alternative {
       {
           \override NoteHead.color = #red
        \repeat unfold 4 b16
        b2
        \revert NoteHead.color
       }
     }
     \repeat unfold 8 f16
  }
>>

One could argue it does not make much sense to code like this without
moving the relevant engravers from Score to Staff, though.

Would it be possible to throw a warning if the content covered by the
VoltaBracket doesn't match (regarding it's length) in all Staffs?

Cheers,
  Harm



reply via email to

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