lilypond-devel
[Top][All Lists]
Advanced

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

Re: Setting the value of a music property


From: Joseph Wakeling
Subject: Re: Setting the value of a music property
Date: Mon, 26 Jul 2010 08:54:26 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100528 Lightning/1.0b1 Thunderbird/3.0.5

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



reply via email to

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