Re: Change event properties before sending to engraver

2023-03-20 Thread Jean Abou Samra
Le lundi 20 mars 2023 à 20:38 +0100, Valentin Petzel a écrit : > But the point here is that while the events have to eventually be handled on > the Staff level we kind of need to "prepare" them at the Voice level to have > the correct spanner id. That is going to be problematic for following

Re: Change event properties before sending to engraver

2023-03-20 Thread Jean Abou Samra
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 >

Re: Change event properties before sending to engraver

2023-03-20 Thread Valentin Petzel
Something like this, yes. Essentially it is necessary to handle the events at Staff level, but not to loose the information about which Voice context we are coming from, some way or another way. I think this should be possible with the whole dispatcher-broadcasting system, but I do not know

Re: Change event properties before sending to engraver

2023-03-20 Thread Saul Tobin
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. On Mon, Mar 20, 2023, 1:40 PM Valentin

Change event properties before sending to engraver

2023-03-20 Thread Valentin Petzel
Hello, this is a more technical question targeted to the more experienced members of the list. One thing that is stupidly hard to do in Lilypond is getting Slurs, Ties and other spanners to work between different Voices. The general approach is to use hidden notes, which is not at all nice to