Re: Puzzled about r1 issue in 3/4 time

2019-10-24 Thread Cynthia Karl via lilypond-user

> From: Michael Wagner 
> Subject: Puzzled about r1 issue in 3/4 time 
> Date: October 23, 2019 at 2:59:06 PM CDT
> To: lilypond-user@gnu.org
> 
> 
> I am seeing some behavior I don’t understand. I have ended the music for 
> “Silver Bells” into lilypond, and I am seeing a puzzling error.
> 
> The song is in 3/4 time, but the rest in measure 33 seems to betaking 4 beats 
> - I get a bar check failed and there are one two rests in measure 34, and an 
> extra measure is inserted at the end.
> 
> What am I doing wrong? 
> 
The most serious thing you’re doing wrong is not submitting an MWE to 
illustrate your problem, e.g.:

\version “2.18.2”
{ \time 3/4 r1 | r1 }

The next most serious thing you’re doing wrong is not reading the 
documentation, e,g, since you’re having a problem with rests, section 1.2.2 
“Writing Rests” of the Notation RM has a subsection called “Full Measure 
Rests”.  So the way to fix your problem is to write:

\version “2.18.2”
{ \time 3/4 R2. | R2. }

(You might also upgrade to version 2.19.83, which is very stable and fixes a 
lot of problem that existed in version 2.18.2)___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Puzzled about r1 issue in 3/4 time

2019-10-23 Thread Simon Albrecht

On 23.10.19 23:38, Michael Gerdau wrote:

Lilypond is right, r1 is 4 beats long. What you probably want is
r1*3/4 or most likely (and better) R1*3/4 instead of r1.

More like R2.

What is the difference between R2. and R1*3/4 apart from the obvious difference 
in the source file?


It really does not matter in any way; all Lily looks at is the ‘total’ 
mathematical duration. R4*12 or R1*3 or R2.*4 or R\longa. …


Best, Simon


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Puzzled about r1 issue in 3/4 time

2019-10-23 Thread David Kastrup
Michael Gerdau  writes:

>> The song is in 3/4 time, but the rest in measure 33 seems to
>> betaking 4 beats - I get a bar check failed and there are one two
>> rests in measure 34, and an extra measure is inserted at the end.
>> 
>> What am I doing wrong? 
>> 
>> The offending r1 is on the 3rd line of the first branch of the
>> alternative below - and if I change that r1 to “r4 r4 r4”, or to
>> “r2.”, the issue goes away.
>
> Lilypond is right, r1 is 4 beats long. What you probably want is
> r1*3/4 or most likely (and better) R1*3/4 instead of r1.

More like R2.

-- 
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Puzzled about r1 issue in 3/4 time

2019-10-23 Thread Urs Liska
23. Oktober 2019 21:59, "Michael Wagner"  schrieb:

> I am seeing some behavior I don’t understand. I have ended the music for 
> “Silver Bells” into
> lilypond, and I am seeing a puzzling error.
> 
> The song is in 3/4 time, but the rest in measure 33 seems to betaking 4 beats 
> - I get a bar check
> failed and there are one two rests in measure 34, and an extra measure is 
> inserted at the end.
> 
> What am I doing wrong?
> 
> The offending r1 is on the 3rd line of the first branch of the alternative 
> below - and if I change
> that r1 to “r4 r4 r4”, or to “r2.”, the issue goes away.

This is natural because an "r1" *is* a whole note rest taking four beats.

What you want to have is a full note rest that *looks* like an r1 but is 
actually written with a capital "R" and the actual duration. So what you need 
is R2.

You'll also notice that this one will (correctly) be centered in the measure 
while the "r1" will sit at the left.

Urs

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Puzzled about r1 issue in 3/4 time

2019-10-23 Thread Malte Meyn



Am 23.10.19 um 23:38 schrieb Michael Gerdau:



Lilypond is right, r1 is 4 beats long. What you probably want is
r1*3/4 or most likely (and better) R1*3/4 instead of r1.



More like R2.


What is the difference between R2. and R1*3/4 apart from the obvious difference 
in the source file?


It’s “half with dot” vs. “whole scaled by 3/4” even in the internal 
structure which you can show with displayMusic:


\displayMusic {
  \time 3/4
  R2.
  R1*3/4
  R4*3
}

LilyPond’s Duration type makes this distinction, Moment doesn’t:

#(display (ly:duration-length #{ 2. #}))
#(display (ly:duration-length #{ 1*3/4 #}))
#(display (ly:duration-length #{ 4*3 #}))

For the output of MultiMeasureRests it doesn’t make a difference, for 
Rests and NoteHeads the choice of the duration affects the glyph choice.


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Puzzled about r1 issue in 3/4 time

2019-10-23 Thread David Kastrup
Michael Gerdau  writes:

>>>Lilypond is right, r1 is 4 beats long. What you probably want is
>>>r1*3/4 or most likely (and better) R1*3/4 instead of r1.
>
>> More like R2.
>
> What is the difference between R2. and R1*3/4 apart from the obvious
> difference in the source file?

Probably none.  I think that R only looks at the actual time spent and
doesn't care just how the time is spent.  But if the next note is, say,
c' then a default duration of 2. and a default duration of 1*3/4 will
make it look different.

-- 
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Puzzled about r1 issue in 3/4 time

2019-10-23 Thread Malte Meyn



Am 23.10.19 um 23:09 schrieb Carl Sorensen:
As you have identified, you can use “r2.” to get a ¾ note rest.  This 
rest will appear in the same note column as the first quarter note in 
the measure.  You can also use “R1*3/4” or “R2.” in ¾ time to get a ¾ 
note (whole measure) rest. This rest will appear centered in the 
measure.


Correct, but I don’t agree with:


It is up to you to decide which you want


There are debatable conventions in notation but it’s a hard rule to use 
centered whole rest symbols for full measure rests—according to Gould 
only in complicated music from the 20th century (complicated rhythms 
paired with many time signature changes) you might deviate from that rule.


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Puzzled about r1 issue in 3/4 time

2019-10-23 Thread Michael Gerdau

>>Lilypond is right, r1 is 4 beats long. What you probably want is
>>r1*3/4 or most likely (and better) R1*3/4 instead of r1.

> More like R2.

What is the difference between R2. and R1*3/4 apart from the obvious difference 
in the source file?

Kind regards,
Michael 

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Puzzled about r1 issue in 3/4 time

2019-10-23 Thread Simon Albrecht

Hi Michael,

some further clarification:

On 23.10.19 23:09, Carl Sorensen wrote:


R1*3/4 or R2.  is a whole measure rest in ¾ time.

With normal rests (as with notes) the glyph, or symbol, that is printed 
depends on the main duration you enter, ignoring the scaling factor. 
These three all look the same:


r4 r4*10 r4*3/4

With multi-measure rests the appearance will be automatically determined 
based solely on the ‘total’ duration and the number of bars it 
encompasses. Thus these three mean, and look, exactly the same:


R2. R1*3/4 R4*3


As you have identified, you can use “r2.” to get a ¾ note rest. This 
rest will appear in the same note column as the first quarter note in 
the measure.  You can also use “R1*3/4” or “R2.” in ¾ time to get a ¾ 
note (whole measure) rest.  This rest will appear centered in the 
measure.  It is up to you to decide which you want.



Here I have to say that it’s not really up to you. There is a clear 
typographical rule that a rest that fills a whole measure has to be 
centered. Thus using


\time 3/4 r2.

is wrong and will look weird to anybody with experience in good musical 
notation. Even if that mistake is often made and found in published 
scores… it doesn’t make it any less of a mistake.


Best, Simon


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Puzzled about r1 issue in 3/4 time

2019-10-23 Thread Carl Sorensen


From: Michael Wagner 
Date: Wednesday, October 23, 2019 at 1:59 PM
To: 
Subject: Puzzled about r1 issue in 3/4 time

I am seeing some behavior I don’t understand. I have ended the music for 
“Silver Bells” into lilypond, and I am seeing a puzzling error.

The song is in 3/4 time, but the rest in measure 33 seems to betaking 4 beats - 
I get a bar check failed and there are one two rests in measure 34, and an 
extra measure is inserted at the end.

What am I doing wrong?

r1 is a whole-note (4/4) rest.

R1*3/4 or R2.  is a whole measure rest in ¾ time.

As you have identified, you can use “r2.” to get a ¾ note rest.  This rest will 
appear in the same note column as the first quarter note in the measure.  You 
can also use “R1*3/4” or “R2.” in ¾ time to get a ¾ note (whole measure) rest.  
This rest will appear centered in the measure.  It is up to you to decide which 
you want.

At any rate, Lilypond has no rest that takes as an argument the number of 
measures the rest should occupy.  All rests, whether whole measure or regular, 
take as an argument the musical duration of the rest.

HTH,

Carl

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Puzzled about r1 issue in 3/4 time

2019-10-23 Thread Michael Gerdau
> The song is in 3/4 time, but the rest in measure 33 seems to betaking 4 beats 
> - I get a bar check failed and there are one two rests in measure 34, and an 
> extra measure is inserted at the end.
> 
> What am I doing wrong? 
> 
> The offending r1 is on the 3rd line of the first branch of the alternative 
> below - and if I change that r1 to “r4 r4 r4”,  or to “r2.”, the issue goes 
> away.

Lilypond is right, r1 is 4 beats long. What you probably want is r1*3/4 or most 
likely (and better) R1*3/4 instead of r1.

Kind regards,
Michael
-- 
Michael Gerdau email: m...@qata.de
GPG-keys available on request or at public keyserver

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Puzzled about r1 issue in 3/4 time

2019-10-23 Thread Malte Meyn



Am 23.10.19 um 21:59 schrieb Michael Wagner:
I am seeing some behavior I don’t understand. I have ended the music for 
“Silver Bells” into lilypond, and I am seeing a puzzling error.


The song is in 3/4 time, but the rest in measure 33 seems to betaking 4 
beats - I get a bar check failed and there are one two rests in measure 
34, and an extra measure is inserted at the end.


What am I doing wrong?


“r1” means a whole (=4/4) rest, not a whole measure rest.

The offending r1 is on the 3rd line of the first branch of the 
alternative below - and if I change that r1 to “r4 r4 r4”,  or to “r2.”, 
the issue goes away.


Yes, “r2.” has the correct length. But you probably wanted to follow the 
engraving rule (as you should) and have a whole rest *symbol*. For that 
you have to tell LilyPond that it’s a *full measure* rest by using a 
capital R: “R2.” LilyPond will then use the correct symbol and center it 
horizontally.


You can read about full measure and multi measure rests here: 
http://lilypond.org/doc/v2.19/Documentation/notation/writing-rests#full-measure-rests


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user