lilypond-user
[Top][All Lists]
Advanced

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

Re: Change event properties before sending to engraver


From: Jean Abou Samra
Subject: Re: Change event properties before sending to engraver
Date: Mon, 20 Mar 2023 22:01:47 +0100
User-agent: Evolution 3.46.4 (3.46.4-1.fc37)

Le lundi 20 mars 2023 à 14:19 -0600, Saul Tobin a écrit :

Is your idea to have a second engraver at the Voice level to prepare the events? You should be able to have an engraver listen to the event and modify it before it's listened by the Staff level engraver, as long as they are \consist'ed in the right order.

"Consisting engravers in the right order" is not meaningful for an engraver in Staff and an engraver in Voice. There is no order between them since they live in different context definitions. As far as I can see from the code, listeners are run top-down, i.e., typically Score then Staff then Voice. That doesn't leave space for a listener in Voice to pitch in before a listener in Staff has done its job, though it does of course leave space for an engraver in Staff to wait until pre-process-music or process-music to read something that is set by an engraver on Voice level in a listener.

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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