[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: |
Sat, 09 Mar 2013 00:20:19 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Olivier Biot <address@hidden> writes:
> 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.
Treating the first pitch of \music in \relative is _absolutely_
_unavoidable_ since the very _definition_ of relative pitches means that
each pitch is specified in relation to the previous pitch, and the first
pitch _has_ no previous pitch.
So the first pitch will _always_ be special-cased. With a reference
pitch, it is special-cased to refer to that absolute pitch. Without a
reference pitch, it has to behave in _some_ manner as well.
> Personally I think that
>
> c'' \relative { ... }
>
> is more intuitive than
>
> \relative c'' { ... }
music functions don't look back into context, and if they are in
variables, they don't even _have_ context.
> 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 default LilyPond pitch. If you personally think that could be made
to work, I am looking forward to your sample implementation.
Or actually even a coherent and comprehensive human-readable definition
that could be placed in the manual and would make it possible for a user
to predict LilyPond's behavior without experimenting.
--
David Kastrup
- Re: Proposed new available and recommended behavior of \relative, (continued)
- Re: Proposed new available and recommended behavior of \relative, Janek Warchoł, 2013/03/07
- Re: Proposed new available and recommended behavior of \relative, Jim Long, 2013/03/07
- Re: Proposed new available and recommended behavior of \relative, David Kastrup, 2013/03/07
- Re: Proposed new available and recommended behavior of \relative, Evan Driscoll, 2013/03/08
- Re: Proposed new available and recommended behavior of \relative, Graham Percival, 2013/03/08
- Re: Proposed new available and recommended behavior of \relative, Werner LEMBERG, 2013/03/08
- Re: Proposed new available and recommended behavior of \relative, David Kastrup, 2013/03/08
- Re: Proposed new available and recommended behavior of \relative, Olivier Biot, 2013/03/08
- Proposed new available and recommended behavior of \relative, Hwaen Ch'uqi, 2013/03/09
- Re: Proposed new available and recommended behavior of \relative,
David Kastrup <=
- Re: Proposed new available and recommended behavior of \relative, Janek Warchoł, 2013/03/09
- Re: Proposed new available and recommended behavior of \relative, David Kastrup, 2013/03/09
- Re: Proposed new available and recommended behavior of \relative, Olivier Biot, 2013/03/09
- Re: Proposed new available and recommended behavior of \relative, Janek Warchoł, 2013/03/09
- Re: Proposed new available and recommended behavior of \relative, David Kastrup, 2013/03/09
- Re: Proposed new available and recommended behavior of \relative, Olivier Biot, 2013/03/09
- Re: Proposed new available and recommended behavior of \relative, David Kastrup, 2013/03/09
- Re: Proposed new available and recommended behavior of \relative, Graham Percival, 2013/03/12
- Re: Proposed new available and recommended behavior of \relative, David Kastrup, 2013/03/12
- Re: Proposed new available and recommended behavior of \relative, Janek Warchoł, 2013/03/12