Hello Eby, Your note about extra-spacing-width is the thing I talked about before. It won’t do the right thing if the note would not vertically collide with the neighboring notes. It doesn’t work with \newSpacingSection because spacing is only taken into account between objects in the same Spacing Section.
The former issue might be addressable be overriding some stuff, but please
think about the
workaround of using skips as grace notes for now.
About you comments:
@1: (spacing between aes and d not much improved.)
Exactly the issue described above. \tweak extra-spacing-width tweaks the
Spacing of the
note heads, and the next note head colliding with the „lane” of the aes in
mention is the ges
three notes lates. So you are overriding the distance to this ges instead of
the next note.
Using \tweak Stem.extra-spacing-width will solve this problem, because the
Stems have
larger „lanes”.
@2: (unable to get small spacing before c.)
As the c is in a new spacing section, it will not take spacing to the previous
section into
consideration.
Regards,
Valentin
Many thanks Kieren & Valentin,
Have used a mix of \newSpacingSection and \tweak extra-spacing-width to achieve
something close to what is possible with use of "skip". Still it's not
perfect(output attached).
Using \tweak extra-spacing-width alone only works for the first 2 sections on
n32 notes.
And the other problem is \tweak have not much effect when used with
\newSpacingSection.
I'm not sure if this is due to the use of \magnifyMusic or the sheer number of
notes in the
section, not much difference even with \break after the manual \bar (please see
comments).
thanks,eby
******************************\version "2.20.0"
global = {\key des \major\time 4/4}
violin = \relative c' {\global\cadenzaOn
\newSpacingSection\override Score.SpacingSpanner.spacing-increment = #2
aes2\fermata %%spacerequired
\newSpacingSection\revert Score.SpacingSpanner.spacing-increment
\magnifyMusic 0.61 {g32 \([aes b c d ees b c d ees ges] %%spacerequired\tweak
extra-
spacing-width #'(-2 . 3) %%spacing between aes and d not much improved.aes32\)
[d,!32 \
(ees ges aes bes c des ees f ges aes bes]}%%spacerequire\tweak
extra-spacing-width #'(-1 . 0)
%%unable to get small spacing before c.\newSpacingSection\override
Score.SpacingSpanner.spacing-increment = #2
c8-.\)
\newSpacingSection\revert Score.SpacingSpanner.spacing-increment%%spacerequired
\magnifyMusic 0.61 {\newSpacingSection\override
Score.SpacingSpanner.spacing-increment
= #2
aes,,8-^ [c-^ ees-^ aes-^ c-^ ees-^ c-^ ees-^ aes-^ c-^ ees-^]
\newSpacingSection\revert Score.SpacingSpanner.spacing-increment%
%spacerequired\ottava #1\revert Score.SpacingSpanner.common-shortest-
duration\override Script.staff-padding = #2.5 {\stemDown aes2\trill \pp
a2\trill bes2\trill
c2\trill \fermata } \bar "|"\override Script.staff-padding = #0}
\cadenzaOff
des1~des2\fermata\ottava #0r \fermata \bar "|."
}
pianoVoice = \relative c'' {\global
\cadenzaOn <ees aes>1\fermata r1 r1 s2 r1 s4 \bar"|" \cadenzaOfff2 (f4-.
f-.)f2\fermata
r\fermata \bar "|."}
violinPart = \new Staff \with {instrumentName = "Violin"shortInstrumentName =
"Vl."midiInstrument = "violin"} \violin
\score {<<\violinPart\pianoVoice>>\layout { }}
******************************
On Friday, 12 June, 2020, 12:32:53 am IST, Valentin Petzel <[email protected]>
wrote:
Hi Kieren,
Note that doing it this way has the same problem I explained before if two
stems a
considerably vertically apart (as we just regulate the horizontal space to the
neighboring
Note, which is not nescessarily the next note.
Regards,Valentin
Am Donnerstag, 11. Juni 2020, 20:51:48 CEST schrieb Kieren MacMillan:> Hi Eby,>
> > I'm
looking for to achieve something like the output without using> > "skips". I
plan to run the
midi output thru VST instrument, thus adding> > skips is a big no. The example
is achieved
using "skip".> > \version "2.19.83"> { c'4 4 \tweak extra-spacing-width #'(-10
. 0) 4 4 }> > Hope
that helps!> Kieren.> > p.s. This kind of thing is EXACTLY why I use the
edition-engraver so>
heavily! =) ________________________________> > Kieren MacMillan, composer
(he/him/his)> ‣
website: www.kierenmacmillan.info> ‣ email: [email protected][1]
signature.asc
Description: This is a digitally signed message part.
