Hello,

I made a test suite, which shows quite peculiar results:
– The problem typically appears with at least 7 (‘II’ series) or 9 (‘I’ series) notes under one beam, but sometimes also with 3 notes (ex. II and IIc) – In each example, the problem occurs only for one of the voices. I couldn’t yet figure out the reason.

HTH, Simon

On 20.11.2015 10:40, Urs Liska wrote:
I have a question regarding beam slopes.

Consider the first of the attached images where the long beam is quite
ugly IMO. I would prefer to have the beam sloped similarly to the
shorter ones at the beginning at the example, something like shown in
the second attachment.
(Eventually it should look like the third attachment, but this can only
be achieved with my fix for the subdivided beams).

Of course I can achieve that easily with overriding Beam.positions but
a) I would like to have a global setting that makes LilyPond produce the
slope automatically and
b) I would like to know if LilyPond shouldn't produce a sloped beam by
default. Or is it an explicit decision to have that beam print
horizontally as in the first example?

Best
Urs


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

\version "2.19.31"
#(ly:set-option 'point-and-click #f)
\layout {
  \context {
    \Staff
    \omit TimeSignature
  }
  \context {
    \Score
    timing = ##f
  }
}
gMajorScale = \relative { g a b c d e fis g }

% change clef to test different positions on the staff
global = { \clef treble }

% take notes away from the end, except for the last note
Ia = {
  \bar "|"
  b16[ d' b' g'  d' g' d'' b'  g' b' g'' d''] \bar "|"
  b16[ d' b' g'  d' g' d'' b'  g' b' d''] \bar "|"
  b16[ d' b' g'  d' g' d'' b'  g' d''] \bar "|"
  b16[ d' b' g'  d' g' d'' b'  d''] \bar "|"
  b16[ d' b' g'  d' g' d'' d''] \bar "|"
  b16[ d' b' g'  d' g' d''] \bar "|"
  b16[ d' b' g'  d' d''] \bar "|"
  b16[ d' b' g'  d''] \bar "|"
  b16[ d' b' d''] \bar "|"
  b16[ d' d''] \bar "|"
  b16[ d''] \bar "|"
}
Ib = \modalInversion b' b' \gMajorScale \Ia
Ic = \retrograde \Ia
Id = \retrograde \Ib

% take notes away from the beginning, except for the first note
IIa= {
  \bar "|"
  b16[ d' b' g'  d' g' d'' b'  g' b' g'' d''] \bar "|"
  b16[ b' g'  d' g' d'' b'  g' b' g'' d''] \bar "|"
  b16[ g'  d' g' d'' b'  g' b' g'' d''] \bar "|"
  b16[ d' g' d'' b'  g' b' g'' d''] \bar "|"
  b16[ g' d'' b'  g' b' g'' d''] \bar "|"
  b16[ d'' b'  g' b' g'' d''] \bar "|"
  b16[ b'  g' b' g'' d''] \bar "|"
  b16[ g' b' g'' d''] \bar "|"
  b16[ b' g'' d''] \bar "|"
  b16[ g'' d''] \bar "|"
  b16[ d''] \bar "|"
}
IIb = \modalInversion b' b' \gMajorScale \IIa
IIc = \retrograde \IIa
IId = \retrograde \IIb

test =
#(define-music-function (id) (string?)
   (let ((mus (ly:parser-lookup (string->symbol id))))
     #{ \new Staff \with { instrumentName = $id } << \global $mus \\ $mus >> #}))

\bookpart {
  \test Ia
  \test Ib
  \test Ic
  \test Id
}

\bookpart {
  \test IIa
  \test IIb
  \test IIc
  \test IId
}

Attachment: complex-beam-slope-calc.pdf
Description: Adobe PDF document

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to