[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FretDiagrams Architecture
From: |
Han-Wen Nienhuys |
Subject: |
Re: FretDiagrams Architecture |
Date: |
Sun, 21 Nov 2004 19:00:29 +0100 |
address@hidden writes:
> On Sun, 2004-11-21 at 05:25, Han-Wen Nienhuys wrote:
>
> > I think that
> >
> > a. we are storing chords in the wrong way. In retrospect, I find
> >
> > root + list of (step, alteration) tuples
> >
> > more logical
>
> So rather than using the pitches as the key for the hash table, it ought
> to be the chord structure, as is inferred in ChordNames, but not the
> chord name itself. Is that what you have in mind?
Not yet; this something to do when we change the representation of
Chord names internally.
>
> >
> > b. using the octave to store different variants is misuse of that
> > less-than-perfect storage model. I think that we should have some
> > kind of ChordAlternativeEvent to store the extra information.
>
> Something along the lines of
>
> \chordmode {
> d \alternative 1
> }
Yes.
--
Han-Wen Nienhuys | address@hidden | http://www.xs4all.nl/~hanwen
- FretDiagrams Architecture, (continued)
Re: FretDiagrams Architecture, Carl Sorensen, 2004/11/24