lilypond-devel
[Top][All Lists]
Advanced

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

Re: Improve internal chord structure


From: David Kastrup
Subject: Re: Improve internal chord structure
Date: Wed, 29 Mar 2017 22:13:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Carl Sorensen <address@hidden> writes:

> On 3/29/17 8:57 AM, "lilypond-devel on behalf of Renato Fabbri"
> <address@hidden on behalf of
> address@hidden> wrote:
>
>>Thanks for the feedback.
>>Yes, I should be an enrolled student by May 4.
>>
>>Could you give me examples of what you consider an internal chord
>>structure
>>(semitone counting?)?
> The internal chord structure is a Guile (scheme) list containing pitches,
> a duration, and events.

I beg to differ.  The tangible representation we are working with is a
list of note events.  When this list of note events is the result of
chord entry, some additional information is put in to make identifying
root/inversion possible.

Other forms may be used for the internals of various chord
naming/identifying routines, but they are an implementation detail.  The
note events are the information bottleneck that every chord is passing
through: if the information in there is not sufficient, it has to be
amended and one has to see how to get the information best into there
and out again.

>>And an internal representation (c2:min7 ?)?
> c2:min7 is an input syntax.
>
>>I am assuming that the output formating
>>is e.g. Cm7.
>
> Yes, that is correct.

Yup.

-- 
David Kastrup



reply via email to

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