On Thu, 16 Nov 2000, Laura Conrad wrote:
> >>>>> "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?
Huh? How did you come up with that interpretation? The above code
would only be executed where an accidental is encountered in the
abc source (note the "if (accidental_IN_ABC_SOURCE...)" above).
I.e. for
X:1
K:D
D ^D D D | =D D D D
When the sharp on the second note was encountered my pseudo code
fragment would kick in. "accidental_in_abc_source is musically_necessary"
would be true and the accidental would be displayed.
When the natural on the fifth note is encountered the pseudo code fragment
would be executed and this time "accidental_in_abc_source is musically_necessary"
would be false and the switch would then be executed to determine what the
user wants to do with that accidental.
How do you figure that is going to "clutter up the clef with unnecessary
accidentals whether they're needed or not???"
I will grant that your description of editorial accidentals probably does need
syntax, though, provided such accidentals are really needed at all. If you're going
to start implementing syntax for "performer choices" then where does it stop?
Do we end up with a syntax for "you might want to play a G instead of this B
down here on the bass line?" And if you think that sound's facetious, you're
only half right -- guitarist's run into that kind of thing all the time. In fact, I'd
be
willing to bet that that sort of thing is a lot more common than a situation where
you might or might not flat or sharp a note.
--
John Atchley
----------------------------------
<http://www.guitarnut.com>
<http://www.guitarnuts.com>
So many guitars, so little time...
To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html