[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.
Thanks,
Carl
- Modify fret calculation algorithm (issue3320041), Carl . D . Sorensen, 2010/11/24
- Re: Modify fret calculation algorithm (issue3320041), steve . yegge, 2010/11/26
- Re: Modify fret calculation algorithm (issue3320041), Carl . D . Sorensen, 2010/11/26
- Re: Modify fret calculation algorithm (issue3320041), Carl Sorensen, 2010/11/26
- Re: Modify fret calculation algorithm (issue3320041), Patrick Schmidt, 2010/11/26
- Re: Modify fret calculation algorithm (issue3320041), Carl Sorensen, 2010/11/26
- Re: Modify fret calculation algorithm (issue3320041), Carl Sorensen, 2010/11/26
- Re: Modify fret calculation algorithm (issue3320041), Trevor Daniels, 2010/11/27
- Re: Modify fret calculation algorithm (issue3320041), Marc Hohl, 2010/11/27
- Re: Modify fret calculation algorithm (issue3320041),
Carl Sorensen <=
- Re: Modify fret calculation algorithm (issue3320041), Marc Hohl, 2010/11/27
- Re: Modify fret calculation algorithm (issue3320041), Carl Sorensen, 2010/11/27
- Re: Modify fret calculation algorithm (issue3320041), Marc Hohl, 2010/11/28
Re: Modify fret calculation algorithm (issue3320041), David Kastrup, 2010/11/27
Re: Modify fret calculation algorithm (issue3320041), Carl Sorensen, 2010/11/27
Re: Modify fret calculation algorithm (issue3320041), n . puttock, 2010/11/26
Re: Modify fret calculation algorithm (issue3320041), Carl . D . Sorensen, 2010/11/26