Remember to add the list email to your messages :)
/J
-------- Forwarded Message --------
Subject: Re: Duration shortcut not working for rests
Date: Sat, 3 Feb 2024 17:11:08 -0500
From: William Ashton <will...@ashtonfam.org>
To: Jakob Pedersen <jak...@vivaldi.net>
Sure. I recognize that that would work. I guess the question more
directly would be "do isolated durations only work for notes?" In this
slightly adjusted example, I would expect the "4"s in the first measure
to remember the "c'", and the "4"s in the second measure to remember the
"r".
https://lilypond.org/doc/v2.24/Documentation/notation/writing-rhythms#durations
\version "2.25.6"
{
c'4 4 4 4
% These 4s are "c"s instead of rests
| r4 4 4 4
}
On Sat, Feb 3, 2024 at 5:06 PM Jakob Pedersen <jak...@vivaldi.net> wrote:
Hi William,
If you want to write more rests, the syntax is
r4 r r b
Much like
c'4 r e f
are all quarter notes and a quarter rest.
Lilypond remembers the duration, but needs to know what to print
with that duration.
Best wishes,
Jakob
On 03.02.2024 22.55, William Ashton wrote:
Hello all,
Am I misunderstanding something, or is this a bug? Since the "r4"
at the start of the second measure is fully qualified, I was
expecting the "4"s that follow it to be quarter rests as well, but
I'm seeing "c"s in the rendered output.
\version "2.25.6"
{
c'4 r r r
% The middle 4s are "c"s instead of rests
| r4 4 4 b
}