When tremolo beams between whole notes don't work good, try to specify 
directions of implicit stems of whole notes.

%%%%%%%%%%%%
\version "2.22.0"

upper = { s1 s }

lower = {
  \clef treble
  \override Beam.gap = 3  % a way to fix 2)
  \repeat tremolo 8 { \stemUp c''''16 \change Staff = "upper" \stemDown c''''16 
}
  \break s1
}

\score {
  <<
    \new Staff = "upper" \upper
    \new Staff = "lower" \lower
  >>
}
%%%%%%%%%%%%

If you want to improve the beam slope, probably overriding beam positions is 
needed.

Akikazu



On 2021/11/03 23:48, Knute Snortum wrote:
On Wed, Nov 3, 2021 at 5:44 AM Paolo Prete <[email protected]> wrote:

Hello,

I'm experiencing strange beams on cross-staff tremolos on whole notes.
The beam in the below snippet: 1) is not placed at the middle of the two notes 
and 2) it is too close to the ledger lines.

Is this expected?
Is there a way to fix 1) + 2) without \tweak(ing)?

thanks,
P

%%%%%%%%%%%%%%%%%%%
\version "2.22.0"

upper = { s1 s }

lower =  {

\clef treble
\repeat tremolo 8 { c''''16 \change Staff = "upper" c''''16 }
\break s1

}

\score {
   <<
     \new Staff = "upper" \upper
     \new Staff = "lower" \lower
   >>
}
%%%%%%%%%%%%%%%%%%%

The only way I know to fix this is by overriding beam positions.  In
this case, doing so produces a warning, which I have suppressed.

%%%
\version "2.22.0"

upper = { s1 }

lower =  {
   \clef treble
   \override Beam.positions = #'(10 . 11)
   #(ly:expect-warning (_ "weird stem size, check for narrow beams"))
   \repeat tremolo 8 { c''''16 \change Staff = "upper" c''''16 }
}

\score {
   <<
     \new Staff = "upper" \upper
     \new Staff = "lower" \lower
   >>
}
%%%

--
Knute Snortum


Reply via email to