[EMAIL PROTECTED] writes:
> >Simple: if a chord is constructed as a set of notes, you automatically
> >can print out the chords (as notes), play them in MIDI and transpose
> >them. If you put stuff inside Chord objects, you have to duplicate
> >code to get printing, playing, and transforming right. I won't have
> >duplicate code in Lily.
>
> But you still have to check that pitch list against a known list of chord
> constructs, going both in the encoding and decoding phases. Talk about
> wasteful duplication! How would you propose to prevent that?
I propose that the coder uses his/her intelligence; if we can't
prevent the lists, we'll have to live with them.
> (how about a code fragment?).
Yes, I'd like to see one.
--
Han-Wen Nienhuys, [EMAIL PROTECTED] ** GNU LilyPond - The Music Typesetter
http://www.cs.uu.nl/people/hanwen/lilypond/index.html