lilypond-user
[Top][All Lists]
Advanced

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

General Relativity (was: divisi parts and another general question)


From: David Kastrup
Subject: General Relativity (was: divisi parts and another general question)
Date: Thu, 07 Mar 2013 01:29:13 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

David Kastrup <address@hidden> writes:

> Kieren MacMillan <address@hidden> writes:
>
>> I definitely use a lot of chord repetition, and I always (= 99% of the
>> time) use \relative. In fact, until only recently, most of my code had
>> \relative {} instead of the now-promoted \relative x {} [where x is
>> the first note in the music expression]. (I am slowly updating my old
>> code to fix this.)
>
> I do not remember that we promoted \relative x, actually.  What I wanted
> to promote at one point of time was having \relative { ... } be
> equivalent to \relative f { ... } since then the first note inside can
> _always_ be specified as if it was absolute:
>
> \relative c' { f' } -> f''
> \relative c' { g' } -> g'
> \relative f { f' } -> f'
> \relative f { g' } -> g'
>
> Since \relative f looks contrived (it's not easy to explain what makes
> f special), being able to leave off the pitch and have it secretly
> replaced by f would make sense.
>
> Of course, it would appear that enough legacy code with \relative {
> ... } is around to make that change somewhat painful.

Ah, what the heck.  convert-ly to the rescue.

<URL:http://code.google.com/p/lilypond/issues/detail?id=3229>

With that definition, there is a satisfactorily non-arbitrary
no-nonsense choice of a reference pitch for \relative: none at all.  The
first note is its own reference.

-- 
David Kastrup




reply via email to

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