Re: modern-straight and flat- flags too thick and too spaced apart

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: modern-straight and flat- flags too thick and too spaced apart

edes

el 2019-02-17 a las 21:41 Thomas Morley escribió:

> Speaking only for myself I think the OP is correct saying flat-flags
> should behave like Beams, though I don't agree for
> modern/old-straight-flags.

I forgot to mention that in the only example that I have at hand of
horizontal flags (Xenakis' Herma), they indeed behave like horizontal
beams in every aspect.



--

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: modern-straight and flat- flags too thick and too spaced apart

Thomas Morley-2
Am Di., 19. Feb. 2019 um 01:42 Uhr schrieb edes <[hidden email]>:

>
>
> el 2019-02-17 a las 21:41 Thomas Morley escribió:
>
> > Speaking only for myself I think the OP is correct saying flat-flags
> > should behave like Beams, though I don't agree for
> > modern/old-straight-flags.
>
> I forgot to mention that in the only example that I have at hand of
> horizontal flags (Xenakis' Herma), they indeed behave like horizontal
> beams in every aspect.

Did you already try my suggestion for flat flags?

#(define-public (flat-flag grob)
  "Flat flag style.  The angles of the flags are both 0 degrees"
  ((straight-flag 0.48 0.81 0 1.0 0 1.0) grob))


Put it on top of your ly-file, you should see a significant improvement.

This will be part of a possible patch anyway, though I'm not sure I
can continue work on it before next weekend.

Cheers,
  Harm

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: modern-straight and flat- flags too thick and too spaced apart

edes

el 2019-02-19 a las 11:30 Thomas Morley escribió:

> Did you already try my suggestion for flat flags?
>
> #(define-public (flat-flag grob)
>   "Flat flag style.  The angles of the flags are both 0 degrees"
>   ((straight-flag 0.48 0.81 0 1.0 0 1.0) grob))
>
> Put it on top of your ly-file, you should see a significant improvement.


That's great, thank you! I didn't even know you could modify those
properties in the lilypond code, I thought you had to edit the sources and
recompile lilypond.

Your suggested values are a significant improvement, indeed, although I
do not use flat flags.

I tried these values for straight-modern, and I find the result
satisfactory:

#(define-public (modern-straight-flag grob)
  ((straight-flag 0.52 0.88 -18 1.1 22 1.2) grob))


One problem remains, though: the first flag is not aligned with the end of
the stem (see the attached ly files and their output).


Best,

ee



--

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user

straight-modern.ly (326 bytes) Download Attachment
straight-modern.pdf (4K) Download Attachment
flat_flags.ly (369 bytes) Download Attachment
flat_flags.pdf (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: modern-straight and flat- flags too thick and too spaced apart

Thomas Morley-2
Am Di., 19. Feb. 2019 um 15:37 Uhr schrieb edes <[hidden email]>:

>
>
> el 2019-02-19 a las 11:30 Thomas Morley escribió:
>
> > Did you already try my suggestion for flat flags?
> >
> > #(define-public (flat-flag grob)
> >   "Flat flag style.  The angles of the flags are both 0 degrees"
> >   ((straight-flag 0.48 0.81 0 1.0 0 1.0) grob))
> >
> > Put it on top of your ly-file, you should see a significant improvement.
>
>
> That's great, thank you! I didn't even know you could modify those
> properties in the lilypond code, I thought you had to edit the sources and
> recompile lilypond.

You could even do:

#(define-public (my-flag grob)
  ((straight-flag 0.4 1 -70 3 -70 3) grob))

{
  \override Flag.stencil = #my-flag
  a'8
  b'
}
%% or
{
  \override Flag.stencil =
    #(lambda (grob) ((straight-flag 0.4 1 -70 3 0 3) grob))
  a'8
  b'
}

>
> Your suggested values are a significant improvement, indeed, although I
> do not use flat flags.
>
> I tried these values for straight-modern, and I find the result
> satisfactory:
>
> #(define-public (modern-straight-flag grob)
>   ((straight-flag 0.52 0.88 -18 1.1 22 1.2) grob))
>
>
> One problem remains, though: the first flag is not aligned with the end of
> the stem (see the attached ly files and their output).

Yep, for this 'straight-flag' from flag-styles needs to be changed.
It will be part of my patch, I hope.

Cheers,
  Harm

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: modern-straight and flat- flags too thick and too spaced apart

edes

el 2019-02-19 a las 22:05 Thomas Morley escribió:

> You could even do:
>
> #(define-public (my-flag grob)
>   ((straight-flag 0.4 1 -70 3 -70 3) grob))
>
> {
>   \override Flag.stencil = #my-flag
>   a'8
>   b'
> }
> %% or
> {
>   \override Flag.stencil =
>     #(lambda (grob) ((straight-flag 0.4 1 -70 3 0 3) grob))
>   a'8
>   b'
> }
>

that's brilliant, thank you.



--


_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user