[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modify fret calculation algorithm (issue3320041)

From: Carl Sorensen
Subject: Re: Modify fret calculation algorithm (issue3320041)
Date: Sat, 27 Nov 2010 06:36:52 -0700

On 11/27/10 1:22 AM, "Trevor Daniels" <address@hidden> wrote:

> Carl Sorensen wrote Saturday, November 27, 2010 4:10 AM
>> Neil found a bug in the code.  What happens when
>> someone requests an open string that isn't present
>> in the tuning?
>> I've got the code fixed to issue a warning.  After
>> issuing the warning, we have two choices:
>> 1 -- leave the improper pitch out of the tablature
>> (which will leave a 0 fingering in the Staff and no
>> corresponding pitch in the tablature)
>> 2 -- calculate that pitch as part of the tablature,
>> will will leave a 0 fingering in the Staff and a
>> non-zero fret in the tablature.
>> Which would be preferable?
> Isn't the 0 fingering in the Staff equally incorrect?

Yes, it is.  But it's only advisory.

> As it is impossible to determine whether the pitch
> or the fingering is wrong this should really be
> classed as a syntax error - the combination is invalid.

No, it's not a syntax error, any more than

\time 4/4 c4 c c |

is a syntax error.

I'm fine to throw an error instead of a warning, so that the output will say
the file failed.  But it's a music error, not a syntax error.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]