Re: Isolated durations on rests

2020-03-27 Thread David Kastrup
Noeck  writes:

> Hi,
>
> is this behaviour intentional?
>
>   \version "2.20.0"
>   { r4 8 a b }

Yes.

> The "8" is equivalent to c'8.

Not really.  It remains unpitched.  Put it in some other context, and it
will assume a different pitch.

> I think I understand what happens: the isolated duration is given a
> default pitch c'.


> What I would expect is that it is another rest, equivalent to
>
>   { r4 r8 a b }
>
> Was this just easier to implement that way for isolated durations or is
> there another reasoning behind that behaviour?

A rhythm can contain rests.  If rests would be part of the system, you
could not write an unpitched rhythm that takes its pitch once you
precede it with something else.

Like

rhythm = { 4. r8 8 8 r4 }

\new Staff
<<
  { e''1 \rhythm } \\
  { c''1 \rhythm }
>>

-- 
David Kastrup



Re: Isolated durations on rests

2020-03-27 Thread David Wright
On Fri 27 Mar 2020 at 20:51:16 (+0100), Noeck wrote:
> is this behaviour intentional?
> 
>   \version "2.20.0"
>   { r4 8 a b }
> 
> The "8" is equivalent to c'8. I think I understand what happens: the
> isolated duration is given a default pitch c'.
> What I would expect is that it is another rest, equivalent to
> 
>   { r4 r8 a b }
> 
> Was this just easier to implement that way for isolated durations or is
> there another reasoning behind that behaviour?

Well, a repeated note might have to be specified as deses'' or some such,
whereas a rest is likely to be just r. So this scheme saves some typing,
particularly for those who use absolute all the time.

(Personally I don't use lone durations.)

Cheers,
David.



Isolated durations on rests

2020-03-27 Thread Noeck
Hi,

is this behaviour intentional?

  \version "2.20.0"
  { r4 8 a b }

The "8" is equivalent to c'8. I think I understand what happens: the
isolated duration is given a default pitch c'.
What I would expect is that it is another rest, equivalent to

  { r4 r8 a b }

Was this just easier to implement that way for isolated durations or is
there another reasoning behind that behaviour?

Cheers,
Joram