On 11/27/10 1:22 AM, "Trevor Daniels" <t.dani...@treda.co.uk> 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.

Thanks,

Carl


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to