lilypond-user
[Top][All Lists]
Advanced

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

Re: dashed beam


From: Neil Thornock
Subject: Re: dashed beam
Date: Wed, 22 Feb 2012 15:05:19 -0700

Thanks Carl.

I'm not sure I quite get the "path" usage -- how would it be different
from using \markup {\beam ... multiple times?  The beam would have
enough dashes to make multiple calls of one object too tedious.

Spending time figuring out the beaming code might be a good place for
me to start learning to hack away at Lily.

On Wed, Feb 22, 2012 at 11:10 AM, Carl Sorensen <address@hidden> wrote:
>
>
> On 2/22/12 8:44 AM, "Neil Thornock" <address@hidden> wrote:
>
>>Has anybody ever tried to come up with a dashed beam?
>>
>>I'm not sure the best way -- I would try PostScript, but I don't know
>>how to cap the line end with a vertical, rather than
>>perpendicular-to-the-line, stroke...
>
> Don't use PostScript; do use the path stencil that LilyPond provides.
> Draw a parallelogram, not a line.  The path command will automatically
> take care of the necessary rounding.
>
> But you might consider modifying the ly:beam::print code that is found in
> lily/beam.cc, or alternatively the Lookup::beam code that is found in
> lily/lookup.cc in order to add a dashed parameter and create multiple
> stencils.
>
> HTH,
>
> Carl
>
>
>



-- 
Neil Thornock, D.M.
No Stopping, Standing, or Parking:
http://neilthornock.net/mp3s/nostopping.mp3
Assistant Professor of Music
Composition/Theory
Brigham Young University



reply via email to

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