lilypond-devel
[Top][All Lists]
Advanced

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

Re: referencing hash key with music symbol


From: Han-Wen Nienhuys
Subject: Re: referencing hash key with music symbol
Date: Wed, 7 Dec 2016 10:12:01 +0100

On Sat, Jul 9, 2016 at 10:37 AM, Jeffery Shivers
<address@hidden> wrote:
>
> \criticalRemark \with {
>
>     message = "my message"
>
>     apply = addition
>
> } Slur f'( g') % <<<< "Slur" indicated here
>
>
> ... we will use that symbol to determine what function, previously assigned
> to the so-named key in the hash table, to apply to the music. However, when
> I attempt to do this, Lily (or maybe Guile) doesn't cooperate. I don't have

just a guess, but Slur unadorned like that becomes a string rather
than symbol. Have you tried converting strings to symbols before doing
the hash lookup?

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



reply via email to

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