[EMAIL PROTECTED] writes:
> Ok, here it is, in all its ugliness... I would appreciate any comments on
> things that can be done better (such as the \textflageolet nonsense, which
> still outputs the wrong character). BTW, I am aware that it won't properly
> handle chords entered as a list of pitches and that adds and subtracts
> aren't handled at all. It's a start--I'm still working on it.
>
I hope that you are aware that I will reject contributions that looks like
this
if (chord_type_i == 0/*maj*/)
{
pitch_arr_.push(Musical_pitch(0, 0, 0)); // Create a major
chord...
pitch_arr_.push(Musical_pitch(2, 0, 0));
pitch_arr_.push(Musical_pitch(4, 0, 0));
}
if (chord_type_i == 1/*min*/)
{
pitch_arr_.push(Musical_pitch(0, 0, 0)); // Create minor chord...
pitch_arr_.push(Musical_pitch(2, -1, 0));
pitch_arr_.push(Musical_pitch(4, 0, 0));
}
if (chord_type_i == 2/*aug*/)
{
If you need to resort to this, use struct initializers (or better yet,
get the info from GUILE)
> BTW, how can I do this as a diff (instead of four separate files)? What are
> the magic words?
see hacking.texi
>
--
Han-Wen Nienhuys, [EMAIL PROTECTED] ** GNU LilyPond - The Music Typesetter
http://www.cs.uu.nl/people/hanwen/lilypond/index.html