[Top][All Lists]

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

Re: box around notes

From: David Nalesnik
Subject: Re: box around notes
Date: Fri, 16 Dec 2011 19:21:55 -0600

Hi Mike,

Thank you so much for pointing me in the right direction! 

On Fri, Dec 16, 2011 at 2:06 AM, address@hidden <address@hidden> wrote:

Hey David,

Once articulations are in the game, I'd recommend creating a custom Scheme engraver that collects all the grobs you want, throws them into the "elements" grob array of a custom grob that implements the axis-group-interface (you can define your own grobs via the same procedure as grobs are defined in define-grobs.scm),

I do want to be able to encompass dynamics and articulations along with note columns, so I've gone with your suggestion of a custom engraver . . . or rather customizing someone else's beautiful example :)

I adapted the regression test "" (thank you to whoever provided this!), and I've got something which mostly works.  There are some problems, though, and I'm not sure I'm approaching this in the way you've suggested.

First of all, is going after the stencil rather than the left and right text (as I did originally) the tactic you had in mind for both approaches?

The first snippet looks fine (both the dynamic and the articulation are encompassed), but the box won't expand to cover both the dynamic and the articulation in the second example.  Also, the distance between the systems doesn't change.  (Raising the last pitch a couple of octaves will cause an overlap.)
and then use axis-group-interface::pure-height and axis-group-interface::height for the Y-extents (which will automatically search the "elements" grob array.

This is the part that is way beyond me. . .  I'd be grateful if you could give me some pointers here, because I've hit a dead end as far as blind experimentation goes . . . 

Description: Binary data

reply via email to

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