lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange beams on cross-staff tremolos


From: Masaki, Akikazu
Subject: Re: Strange beams on cross-staff tremolos
Date: Thu, 4 Nov 2021 00:17:35 +0900
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.1

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 <paolopr976@gmail.com> 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

[Prev in Thread] Current Thread [Next in Thread]