lilypond-user
[Top][All Lists]
Advanced

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

Re: Proposed new available and recommended behavior of \relative


From: Olivier Biot
Subject: Re: Proposed new available and recommended behavior of \relative
Date: Fri, 8 Mar 2013 23:41:57 +0100

On Fri, Mar 8, 2013 at 11:43 AM, David Kastrup <address@hidden> wrote:
Werner LEMBERG <address@hidden> writes:

>>> Well... if you just don't emit the warning if the first pitch in a
>>> \relative {} block is incorrect, then it seems like you get exactly
>>> the current proposal except that you have to spell \relative { c''
>>> } as \relative { c='' } instead.
>>
>> I like that idea!
>
> Indeed, this has some benefits in that the distinction between
> relative and absolute notes stay intact.

The problem I have with it is that it is contrived.  Converting the
whole documentation to this usage would seem artificial, and octave
checks are not intended to change the meaning of code but to catch
errors.

I have mixed feelings regarding the proposed syntax update of \relative.

Treating the first pitch of \music in \relative \music differently is not intuitive and will likely result in octave errors.

Personally I think that

  c'' \relative { ... }

is more intuitive than

  \relative c'' { ... }

and could be made to work even when no starting pitch has been specified, where the default LilyPond pitch would apply (IIRC c' as starting point).

The main question however, is to check how users make use of \relative nowadays in their sheet music. Maybe that will shed some more light on the problem and on a feasible change.

Best regards,

Olivier

reply via email to

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