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: Janek Warchoł
Subject: Re: Proposed new available and recommended behavior of \relative
Date: Sun, 10 Mar 2013 10:41:30 +0100

On Sun, Mar 10, 2013 at 10:33 AM, Wim van Dommelen <address@hidden> wrote:
>
> On 10 Mar 2013, at 10:06 , David Kastrup wrote:
>> Barely tongue-in-cheek:
>>
>> absolute =
>> #(define-music-function (parser location music) (ly:music?)
>>   (make-music 'TransposedMusic 'element music))
>>
>> When placed inside of a \relative block, \relative will route around
>> this music.  It stays in absolute pitch and does not even touch the
>> reference pitch of \relative.  This might be somewhat useful in
>> connection with music variables:
>>
>> melody = \absolute { c'4 e' g' c' }
>>
>> \relative f { c''4. g'8 c,2 \melody d4 e f c }
>
> Not quite what I had in mind, this is still using a "wrap" with { }
>
> Compared with the \clef behaviour, I see this variant:
>
> melody = { \relative c='4 d e f g f e d c \absolute c,, d,, e,, f,, g,,
> \relative c=' d e f }

I think this may be technically impossible (or at least ugly,
inelegant, prone to errors, weird exceptions and unpleasant
surprises).  Currently David seems to be the only one who can actually
jugde this sort of things - i think we should trust him if he says
that wouldn't be feasible.

cheers,
Janek



reply via email to

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