On Tue, 2025-02-18 at 14:47 -0500, Yoshiaki Onishi wrote:
> > 
> > On Tue 18 Feb 2025 at 17:56:02 (+0000), Richard Shann wrote:
> > > At
> > > https://lilypond.org/doc/v2.25/Documentation/notation/glissando
> > > under the section
> > > Contemporary glissando
> > > is this example (without the whole bar rest at the end).
> > > 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
> > > \version "2.25.18"
> > > \relative c'' {
> > > \time 3/4
> > > \override Glissando.style = #'zigzag
> > > c4 c
> > > \cadenzaOn
> > > c4\glissando
> > > \hideNotes
> > > c,,4
> > > \unHideNotes
> > > \cadenzaOff
> > > \bar "|"
> > > % R1*4/4 
> > > }
> > > 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
> > > 
> > > When the whole measure rest is present two whole measure rests
> > > appear and an 
> > > empty bar.
> > > 
> > > Is there a fix for this?
> > 
> > A fix would necessitate knowing what you want to print.
> > 
> > Perhaps it's something like the attached?
> > 
> > Cheers,
> > David.
> 
> Hello Richard and David,
> 
> Here is what I had, fyi. I used \after function to give the glissando
> some fine tuning while the content of the measure not spilled over to
> the next measure. While I could see the rationale behind using
> \cadenzaOn and \cadenzaOff, I fear that it affects the overall
> spacing. For glissando of this kind, I think that it is best to keep
> the issue of spacing as intact as possible. So my example doesn’t use
> the \cadenza… functions.

This looks promising and I would like to try to understand what the two
duration parameters 8.. and 32 are doing in this context.
The only documentation I have found for \after is

\after delta (duration) ev (music) mus (music) ⇒ music
    Add music ev with a delay of delta after the onset of mus

I'm not sure what "Add" means here - playing around with various values
has got me confused - some values push subsequent notes into the next
bar, others change the spacing of bars before and after as if it had
affected the Score.SpacingSpanner.spacing-increment.

I wonder if someone could shed some light on this. The goal is to
create a glissando from a note to a non-printing note - I'm this means
its note-column (?) is made wider, but otherwise the spacing is normal.

Many thanks,

Richard


> 
> All the best,
> Yoshi 
> 
> \version "2.25.18"
> \relative c'' {
>   \time 3/4
>   \override Glissando.style = #'zigzag
>   c4 c4
>   \after 8.. {\hideNotes
>   {c,,32}
>   \unHideNotes
>   } c''4\glissando
>   \bar "|" 
> R2.
> }
> 
> 
> 
> 


Reply via email to