[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange beams on cross-staff tremolos
From: |
Knute Snortum |
Subject: |
Re: Strange beams on cross-staff tremolos |
Date: |
Wed, 3 Nov 2021 11:19:58 -0700 |
On Wed, Nov 3, 2021 at 11:03 AM Paolo Prete <paolopr976@gmail.com> wrote:
>
> Instead of suppressing the warning, given that LilyPond adds an invisible
> "auxiliary" stem to the whole notes, for creating the tremolo beam,
> I think it should be better to explicitly set the stems on both notes,
> according to the beam's position:
>
> %%%
> \version "2.22.0"
>
> upper = { s1 }
>
> lower = {
> \clef treble
> \override Beam.positions = #'(10 . 11)
> \repeat tremolo 8 { \stemUp c''''16 \change Staff = "upper" \stemDown
> c''''16 }
> }
>
> \score {
> <<
> \new Staff = "upper" \upper
> \new Staff = "lower" \lower
> >>
> }
> %%%
That's a great addition to the snippet. Thanks. It also helps me to
understand the warning.
--
Knute Snortum