Hello Eby, I noticed, you can use extra-spacing-height to increase the size of the „lanes” I talked about.
I’ve appended the example.
Regards,
Valentin
Am Samstag, 13. Juni 2020, 07:16:42 CEST schrieb Eby Mani:
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]
--------
[1] mailto:[email protected]
\version "2.20.0"
global = {
\key des \major
\time 4/4
}
violin = \relative c' {
\global
\cadenzaOn
\tweak extra-spacing-width #'(0 . 2)
\tweak extra-spacing-height #'(-inf.0 . +inf.0) %% not required since notes are vertically close together
aes2\fermata
%%spacerequired
\magnifyMusic 0.61 {
g32 \([aes b c d ees b c d ees ges] %%spacerequired
\tweak extra-spacing-width #'(-1 . 1)
\tweak extra-spacing-height #'(-inf.0 . +inf.0) %% required since aes and d are not vertically close
aes32\)[ %%spacerequired
d,!32 \(ees ges aes bes c des ees f ges aes bes]
}
%%spacerequired
\tweak extra-spacing-width #'(-1.4 . 4)
\tweak extra-spacing-height #'(-inf.0 . +inf.0) %% required since c and aes are not vertically close
c8-.\)
%%spacerequired
\magnifyMusic 0.61 {
aes,,8-^ [c-^ ees-^ aes-^ c-^ ees-^ c-^ ees-^ aes-^ c-^ ees-^]
%%spacerequired
\ottava #1
\override Script.staff-padding = #2.5 {
\stemDown
\tweak extra-spacing-width #'(-4 . 0)
\tweak extra-spacing-height #'(-inf.0 . +inf.0) %% not actually required since ees as ledger lines
aes2\trill \pp a2\trill bes2\trill c2\trill \fermata } \bar "|"
\override Script.staff-padding = #0
}
\cadenzaOff
des1~
des2\fermata
\ottava #0
r \fermata \bar "|."
}
pianoVoice = \relative c'' {
\global
\cadenzaOn <ees aes>1\fermata r1 r s2 r1 s4 \bar"|" \cadenzaOff
f2 (f4-. f-.)
f2\fermata r\fermata \bar "|."
}
violinPart = \new Staff \with {
instrumentName = "Violin"
shortInstrumentName = "Vl."
midiInstrument = "violin"
} \violin
\score {
<<
\violinPart
\pianoVoice
>>
\layout { }
}
signature.asc
Description: This is a digitally signed message part.
