LilyPond Schemers,
I'm gradually getting the hang of Scheme, but I'd like some help with one
frustrating issue. I'd like to build an identifier from two strings and use it
to reference a LilyPond variable.
In other words, I have several Lily variables defined like this
SopranoMusic = \relat
Hi Trevor,
hey, that's what I just learned :-)
What you need is (ly:parser-lookup parser 'SopranoMusic) inside a music
function.
Then create the 'SopranoMusic symbol from two strings and you're good to go.
\version "2.19.18"
SopranoMusic = {
c' d'
}
getMusic =
#(define-music-function (pa
Thanks Urs, that what I needed!
Trevor
- Original Message -
From: "Urs Liska"
To:
Sent: Saturday, March 21, 2015 10:44 PM
Subject: Re: Building identifiers algorithmically
> Hi Trevor,
>
> hey, that's what I just learned :-)
>
> What you need is (ly:parser-lookup parser 'SopranoMus