lilypond-user
[Top][All Lists]
Advanced

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

Re: aleatoric box / frameEngraver


From: David Nalesnik
Subject: Re: aleatoric box / frameEngraver
Date: Tue, 30 Jul 2013 14:56:15 -0500

Hi,


On Mon, Jul 29, 2013 at 12:41 PM, David Nalesnik <address@hidden> wrote:
Hi Karol,


On Sat, Jul 20, 2013 at 6:57 AM, Karol Majewski <address@hidden> 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 FrameStub (see the latest version of the file at http://www.mail-archive.com/address@hidden/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
 

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

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


reply via email to

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