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: David Kastrup
Subject: Re: Proposed new available and recommended behavior of \relative
Date: Fri, 08 Mar 2013 07:29:57 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

David Kastrup <address@hidden> writes:

> Graham Percival <address@hidden> writes:
>
>> On Fri, Mar 08, 2013 at 06:29:34AM +0100, David Kastrup wrote:
>>> Graham Percival <address@hidden> writes:
>>> 
>>> > Whereas keeping the explicit initial pitch:
>>> >   \relative c' { c' c' }
>>> > the c' outside the {} means "middle C"
>>> > each c' inside the {} means "jump an octave higher"
>>> 
>>> Not every piece starts from c, and we had lots of discussions about what
>>> to do when it doesn't.  I think we promoted using \relative x''' { x for
>>
>> Yes.
>>
>>> this case so that one would not have to figure out the relation of x to
>>> c to figure out the starting pitch, and \relative x''' { x is really
>>> not more helpful than \relative { x'''.
>>
>> I disagree.  In that case, the x''' *outside* the {} is interepted
>> as an absolute note, while all the xyz *inside* the {} are
>> interpreted as relative notes.
>
> So after my proposal, the first explicit pitch after \relative is
> interpreted as an absolute note, whether or not it comes right after
> \relative or occurs within the music itself.

Which also means that if your editor has a function "convert marked
region to absolute", it will do the same (and right) thing on
\relative pitch { ... pitch ...
\relative { ... pitch ...

-- 
David Kastrup




reply via email to

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