# Re: aleatoric box / frameEngraver

Hi,


On Mon, Jul 29, 2013 at 12:41 PM, David Nalesnik
<david.nales...@gmail.com>wrote:

> Hi Karol,
>
>
> On Sat, Jul 20, 2013 at 6:57 AM, Karol Majewski <karo...@wp.pl> wrote:
>
>>
>> OK, so have repeat signs in \markup \Score. Now I need the extender. How
>> can I modify David's function to start the extender without frame? For
>> example:
>>
>>
>>
>> c'4 \extenderStart s4*2 \extenderStop
>>
> Again, I think the best course of action here is not to omit the frame;
> rather, you would replace the frame with repeat-bar stencils.
>
> The problem that I'm facing is that I can't find a convenient function in
> the barline interface to produce a barline stencil.  It's possible to quote
> massive portions of scm\bar-line.scm in the .ly file and then make some
> adaptations to the print function for Frame and the width function for
> http://www.mail-archive.com/lilypond-user@gnu.org/msg83197/frameEngraver25.ly).
> That works, but it's just too awful.
>

The attached file will let you do the aleatoric notation with repeat
barlines without resorting to wholesale copying (or adding things to the
end of scm\bar-line.scm).  The barlines have been recreated.  They are
scaleable.

There are now two options available with the same file: box notation, or
repeat-barline notation.  Boxes are the default.  You can select barlines
like so:

\override Frame.repeat-barlines = ##t

Both can be used in the same file, successively or simultaneously in
different staves.

Because it's so long, I've put the engraver in a file to be included.

HTH,
David


frameEngraver-bars-and-boxes.ily
Description: Binary data

frameEngraver-boxes-and-repeats-example.ly
Description: Binary data

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