bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 2072 in lilypond: Add proper complex variables to Lilypond


From: David Kastrup
Subject: Re: Issue 2072 in lilypond: Add proper complex variables to Lilypond
Date: Sun, 04 Dec 2011 11:35:25 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

Werner LEMBERG <address@hidden> writes:

>>> However, I can live with "violin1" or "violin1part3" also.
>> 
>> "part" would be a more like a tag of a struct or index of an
>> associative array, so \violin1part3 could access something
>> corresponding to violin[1].part[3] in C-speak when defined properly.
>
> Actually, it would be rather
>
>   part[3].violin[1]

That's the logic of the musician rather than the programmer speaking.
If you wanted it to be _that_, you'd have to call it \part3violin1, I am
afraid.

> and I would welcome such a possibility to add more structure.

I actually don't see all that many uses for it (possibly because I did
not write large projects in Lilypond yet) until one starts doing
iterators and similar fun (not part of this proposal).  One obvious use
case would be to use a vector as the recipient for \parallelMusic.

-- 
David Kastrup



reply via email to

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