lilypond-user
[Top][All Lists]
Advanced

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

Re: Strings as variable names


From: David Kastrup
Subject: Re: Strings as variable names
Date: Wed, 06 Jan 2016 10:09:56 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Josiah Boothby <address@hidden> writes:

> Now, yes, I'm sure that with a handful of hours of trying to learn
> Scheme, I could probably find a way to do this that doesn't involve so
> many lines of Lilypond code, but my free time to work on this
> particular project is in half-hours here and there: learning enough
> scheme to do this is impractical. So in the meantime, I basically have
> to give each three-note motive a variable with a coded name that allows
> sufficient differentiation and can be searched reasonably easily.
> Variables with Arabic numerals would make these far more descriptive
> and easier to read! Such as, for instance, trichord (0,1,6), in the
> form and ordering of (0,11,5), enharmonic spelling version "c": 
>
> \016_0e5-c
>
> ...instead of:
>
> \EbIIiii  
>
> ...which is oblique and obnoxious to read. (And which I have to remind
> myself not to read as "E-flat...er...major? Minor? Huh?")

Ok, here indeed \"016_0e5-c" seems like the lesser evil (it _has_ worked
in that manner since version 2.17.28, it's just not really publicized).

-- 
David Kastrup



reply via email to

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