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: Neil Puttock
Subject: Re: Setting the value of a music property
Date: Sun, 25 Jul 2010 19:49:53 +0100

On 25 July 2010 13:22, Joseph Wakeling <address@hidden> wrote:

>    naturalizeMusic =
>    #(define-music-function (parser location m)
>       (ly:music?)
>       (naturalize m (ly:music-property music 'naturalize-style)))

This function has an arg called `m', but you're trying to access a
property from `music'.  This doesn't cause an `unbound variable' error
since you have the following identifier (whose music has no
'naturalize-style setting):

music = \relative c' { c4 d e g }

Cheers,
Neil



reply via email to

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