Rainer Dunker wrote:
>
> Neil Killeen wrote:
> >
> > i am wondering whether there is any style convention that
> > is typically used in music notation for this. [...]
>
> I can't make any suggestions myself, but I remember that the book
> "Musiknotation" by Helene Wanske (Schott, Mainz/Germany 1988) contains a
> complete discussion of all such notation aspects with special regard to
> their suitability for algorithmical automation. It seems to be out of
> print, but every library with special interest in computers and music
> should have it. The fact that it's written in German may cause some
> complications, but there may be interested German-speaking list members
> willing to help here in case you decide to consult the book.
>
Thanks, Rainer and Neil. I'd be very interested in the discussion in
the book, but (I'm embarassed to say) I don't know any German at all.
Has anyone ever seen a book by Ted Ross entitled something like "The art
of music engraving." I think it might have some useful info in it, but
it's ALWAYS checked out of the music library at University of California
Los Angeles.
I had some private correspondence with Bernhard Lang about this, in
which he quoted the following rule:
"Place the accidentals from top to bottom. Start rightmost and increase
the
shift to the left until it is possible to go back to the unshifted
position again (This normally fullfilles the rule of octaves, since with
normal sized accidentals the "go back" is not possible before a 7th)."
This seems to be consistent with most of the editions I've looked at. I
think the source was a book by Chlapik (sp?), that Werner also often
quoted. Bernhard also sent me a few examples of exceptions to the rule,
mostly having to do with octaves. So I've revised my approach, building
on what I had already done, to implement this rule, and I'm getting
closer to having something that works pretty generally [except for the
exceptions :-)].
I've also finished implementing automatic notehead shifting, which
turned out to be easy compared to the accidentals. The rule there is
basically as follows: For [up|down] stems, start at the [bottom|top],
locate each interval of a 2nd, [right|left] shift the [upper|lower] of
the 2 noteheads. The tricky part comes if the notehead that needs to be
shifted is the main note of the chord...just try to shift the main
notehead without also shifting the stem!. I worked out a kluge where I
temporarily interchange the roles of the two notes.
Now I'm working on making room for these masses of accidentals and
shifted noteheads. Naturally it's not going smoothly, because after
having implemented all the accidental shift calculations, it appears
that I'm going to have to move that analysis forward in the code in
order to coordinate with all the other possible sources of added space
requirements. But I should have something to distribute fairly soon.
--Don
_______________________________________________
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music