[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Whole-note tremolo beams
From: |
Thomas Morley |
Subject: |
Re: Whole-note tremolo beams |
Date: |
Thu, 9 Apr 2020 12:06:38 +0200 |
Am So., 22. März 2020 um 17:38 Uhr schrieb Leo Correia de Verdier
<address@hidden>:
>
> Second attempt:
[...]
Hi,
please find attached my own take on it.
The tremolo-beam now avoids left-note-column's dots and
right-note-column accidentals automagically and is
centered around the thought line between the vertical center of the
note-heads staff-positions of left and right note-column.
Furthermore, I introduced some subproperties of Beam.details:
(1)
Beam.details.tremolo-positions, expecting a pair, defaulting to '(0 . 0)
for fine-tuning
NB Introducing details.tremolo-positions is part of the workaround. A
user set 'positions would disturb the stencil-examination. If you use
Beam.positions, you will need to figure out all the needed values.
Then the function assumes you want to Y-position the Beam yourself and
restricts it's behaviour to left/right gaps.
(2)
Beam.details.whole-note-tremolo-gaps, expecting a pair, defaulting to
'(0.5 . 0.5)
for fine-tuning the gaps
Note:
because of
https://sourceforge.net/p/testlilyissues/issues/5868/
an additional function 'correct-whole-note-tremolo-gap' is added.
In general, the function examines the default-stencil and returns a
modified one.
The first ~90 lines are debugging helpers. They may be activated
setting the boolean in line 369 to #f
Ofcourse it would be better the default would do the right thing right
from the begining...
Thus, it's a workaround, nothing more, but demonstrating how tremolo
for whole notes should come out per default imho.
Cheers,
Harm
tremolo-gap.png
Description: PNG image
tremolo-gap.ly
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Whole-note tremolo beams,
Thomas Morley <=