lilypond-devel
[Top][All Lists]
Advanced

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

Re: custom engraver in scheme: accessing nested Music object


From: Ricardo Wurmus
Subject: Re: custom engraver in scheme: accessing nested Music object
Date: Wed, 10 Aug 2011 23:11:44 +0800
User-agent: Mutt/1.5.21 (2010-09-15)

On Aug 10, Neil Puttock wrote:
> On 10 August 2011 15:00, Ricardo Wurmus <address@hidden> wrote:
>
> > Is there a way to change that order, or call the note-head-interface
> > function again at the very end for processing a grob?
>
> Acknowledger order depends on the order engravers are \consist-ed (the
> only exception is if you set must-be-last to #t)
>
> If you want to do useful things to the NoteHead, you should wait until
> all the acknowledging has finished, i.e., store the NoteHead grob and
> process the information in a process-acknowledged or
> stop-translation-timestep function.

Thank you very much for the information. This is the bit I must have
overlooked.

> BTW, if you're prepared to wrap the notes in a chord (so you have
> access to 'articulations), you won't even need a scheme engraver (all
> the processing can take place in the NoteHead's stencil callback).

It should be a generic engraver, so I cannot assume that notes will
always be wrapped in a chord. I'll play around with defining a function
for process-acknowledged and see where it leads me.

> Cheers,
> Neil

Best,
Rekado



reply via email to

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