[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add a procedure to add slashes to Beams and straight Flags (issue 56
From: |
lilypond |
Subject: |
Re: Add a procedure to add slashes to Beams and straight Flags (issue 562550043 by address@hidden) |
Date: |
Sat, 16 Mar 2019 13:42:11 -0700 |
Here’s some test music:
\version "2.21.0"
\language "deutsch"
\relative {
%%% looks better than 1/1 IMHO:
\override Beam.details.slash-gradient = 3/4
%%% default = 1 good for most, but not for some short stems (m. 3, m.
6)
%\override Beam.details.slash-stem-part = 0.6
%%% has complicated name and it’s not clear why y has to be larger
than x
%%% maybe better “slash-overshoot”?
\override Beam.details.slash-x-y-over-shoot = #'(0.3 . 0.6)
\acciaccatura { c''16 d } e2
\acciaccatura { c16 d e f } e2
\acciaccatura { c16 d e f g a } e2
\acciaccatura { c16 h } e2
\acciaccatura { c16 h a g } e'2
\acciaccatura { c16 h a g f e } e'2
\acciaccatura { c8 d } e2
\acciaccatura { c8 d e f } e2
\acciaccatura { c8 d e f g a } e2
\acciaccatura { c8 h } e2
\acciaccatura { c8 h a g } e'2
\acciaccatura { c8 h a g f e } e'2
\acciaccatura { c32 d } e2
\acciaccatura { c32 d e f } e2
\acciaccatura { c32 d e f g a } e2
\acciaccatura { c32 h } e2
\acciaccatura { c32 h a g } e'2
\acciaccatura { c32 h a g f e } e'2
}
https://codereview.appspot.com/562550043/diff/564540043/ly/grace-init.ly
File ly/grace-init.ly (right):
https://codereview.appspot.com/562550043/diff/564540043/ly/grace-init.ly#newcode24
ly/grace-init.ly:24: \temporary \override Flag.stroke-style = "grace"
If we have \slashedBeam, we might want another shortcut \slashedFlag.
https://codereview.appspot.com/562550043/diff/564540043/scm/define-grobs.scm
File scm/define-grobs.scm (right):
https://codereview.appspot.com/562550043/diff/564540043/scm/define-grobs.scm#newcode408
scm/define-grobs.scm:408: (slash-stem-part . 1)
It’s not that easy in some cases, see example code below.
https://codereview.appspot.com/562550043/diff/564540043/scm/define-grobs.scm#newcode409
scm/define-grobs.scm:409: (slash-gradient . (1 . 2))
IMHO that’s to steep, I’d prefer something like '(3 . 4)
https://codereview.appspot.com/562550043/diff/564540043/scm/define-grobs.scm#newcode410
scm/define-grobs.scm:410: (slash-x-y-over-shoot . (0.4 . 0.8))
I don’t really understand how this works: Why does one need a so much
larger y value? The result doesn’t look like the slash sticks out
further at the top than at the left side.
Also, that’s a really complicated name, how about something simpler
(maybe slash-overshoot)?
https://codereview.appspot.com/562550043/
- Add a procedure to add slashes to Beams and straight Flags (issue 562550043 by address@hidden), thomasmorley65, 2019/03/10
- Re: Add a procedure to add slashes to Beams and straight Flags (issue 562550043 by address@hidden), v . villenave, 2019/03/10
- Re: Add a procedure to add slashes to Beams and straight Flags (issue 562550043 by address@hidden), thomasmorley65, 2019/03/10
- Re: Add a procedure to add slashes to Beams and straight Flags (issue 562550043 by address@hidden), Carl . D . Sorensen, 2019/03/10
- Re: Add a procedure to add slashes to Beams and straight Flags (issue 562550043 by address@hidden), lilypond, 2019/03/16
- Re: Add a procedure to add slashes to Beams and straight Flags (issue 562550043 by address@hidden), lilypond, 2019/03/16
- Re: Add a procedure to add slashes to Beams and straight Flags (issue 562550043 by address@hidden),
lilypond <=
- Re: Add a procedure to add slashes to Beams and straight Flags (issue 562550043 by address@hidden), thomasmorley65, 2019/03/17