On 07/25/2010 10:14 PM, Neil Puttock wrote:
> The music property must be set after calling the naturalizeMusic
> function, otherwise it's too late:

Brilliant, that works, thank you! :-)

One small point of clarification -- do I have to put brackets {} around
the music that a \withMusicProperty statement applies to, or does it
apply the property to everything that follows?

It makes no difference in my sample .ly file where there are already
brackets around everything, but it makes a difference when I write all
this up ... :-)

I'll probably be a bit silent on this in the next few days because work
is busy, but next steps are to try and integrate this functionality into
the C++ in lily/music.cc.  Something along the lines of (in pseudo-C++):


    if('naturalize-style)  // i.e. if it's not the empty list #f
      {
        run_pitches_through_scheme_function(naturalize-pitch);
      }

... anyway, will let you all know how it goes, when (if) it goes... :-)

Thanks again & best wishes,

    -- Joe

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to