lilypond-user
[Top][All Lists]
Advanced

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

Re: part combiner


From: Han-Wen Nienhuys
Subject: Re: part combiner
Date: Mon, 06 Jun 2005 19:15:53 +0200
User-agent: Mozilla Thunderbird 1.0.2-1.3.3 (X11/20050513)

address@hidden wrote:
address@hidden wrote:

Hi, I am not sure of the function of Recording_group_engraver.  What
should I change, and how will it change the scheme code?
From looking at the c++ code it doesn't appear to do much.
If it records the time signature, then will it be added between the
other
events?


the Recording_group_engraver now records events. You could also record
changes to  properties.  The result is a vector, which is
read out from

  make-part-combine-music

(see scm/part-combiner.scm).


As far as I can see the music events are recorded in try_music.  Which
method do I have to add to record property changes?

Try process_music(). You will have to read the properties, check them against values in the previous time steps, and modify the data structure where events are stored to also contain property values.


> Sorry, I am not
so familier with lilypond internals.  Perhaps could you give me some
source files that I should read to get more info?

Sure! They're in lily/*.cc  :)

In all seriousness: your question is too vague for me to answer.

I read part-combiner, and I think it works as follows:
make-part-combine-music puts the events in noticed, and from there
it gets passed to the function determine-split-list.  That function
returns a list of moments and descriptions.  So I just need to change
the determine-split-list function.  Is that right?

yes.



--
 Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen




reply via email to

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