lilypond-devel
[Top][All Lists]
Advanced

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

Re: Need interface/data structure design advice


From: David Kastrup
Subject: Re: Need interface/data structure design advice
Date: Tue, 27 Oct 2009 10:35:51 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Carl Sorensen <address@hidden> writes:

> On 10/26/09 1:41 PM, "David Kastrup" <address@hidden> wrote:
>> 
>> I am working on accordion register symbol typesetting right now.  Up to
>> now, there are some font elements in the font, and some basic hackish
>> stuff in the snippets.

> I'd lean towards something like
>
> bank-properties , an alist containing the properties of a bank:
>
> ((x-offset . bank-x-offset)
>  (y-offset . bank-y-offset)
>  (pitch-offset . bank-pitch-offset)
>  (midi-intsrument . bank-midi-instrument))
>
> By making it an alist, any of the properties can be left out and filled in
> by default, and the order of the properties doesn't matter.  It's the way
> most LilyPond properties are set.

[...]

Thanks for the detailed reply.  I'll try digesting it in a reasonable
time frame and produce something from it in due time.

-- 
David Kastrup





reply via email to

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