>>>>> "John" == John Atchley <[EMAIL PROTECTED]> writes:
John> Just in case I got too wordy and unclear in my other
John> response here's a bit of pseudo-code:
John> if (accidental_in_abc_source is musically_necessary) {
John> unconditionally display accidental
John> } else {
John> /* Accidental is not musically necessary */
John> switch (user_desires_for_unnecessary_accidentals) {
So you're not planning on an option by note; just a way to clutter up
the clef with unnecessary accidentals whether they're useful or not?
I think you're missing an important point. There are *two* reasons for
putting accidentals in parentheses:
Cautionary accidentals, where the conventions of standard
notation mean that the accidental isn't necessary for a player
program, but the editor feels that human players will be more
likely to get the right note if the accidental is there.
Editorial accidentals, which are exactly like regular
accidentals in the sense that both a human and a computer
would need the accidental to know that they should play it,
but the editor wants to visually distinguish this accidental
from others. For instance, my transcriptions should have both
accidentals that occur in the facsimiles I'm transcribing
from, and accidentals that weren't printed there because in
the 16th century whether to play certain kinds of accidentals
was considered a performer's decision.
In my opinion, there's no need to distinguish these two cases in ABC for
either a playing or a printing program. That is, a player program
could ignore cautionary accidentals, but would get the same result as
if it played them, and would risk ignoring editorial accidentals which
it should play if it tried to make the distinction.
--
Laura (mailto:[EMAIL PROTECTED] , http://www.laymusic.org )
(Note the email and homepage address changes; please update your
address book, bookmarks, and links.)
To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html