Re: Duration shortcut not working for rests
Ah, that makes sense. I can see how the behavior would be useful there. I think part of the surprise is that when writing \new Dynamics voices I will only use spacer rests, and typically only specify the "s" the first time, leaving the rest of the piece described with just durations. \new Dynamics { s1 | 2\< 2\> | 1\! } But if I try to use spacer rests in a musical context with pitches, then the compiler stops remembering the "s". \version "2.25.6" { c'4 4 4 4 % These are still "c"s | s4 4 4 4 } Would it be reasonable for this to be configurable, so that different parts could remember or forget rests as needed? On Sat, Feb 3, 2024 at 5:22 PM Jean Abou Samra wrote: > 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 > } > > It's on purpose (even though I tend to agree that it is a bit quirky). One > reason is to simplify the writing of percussion lines, where the same drum > name is often repeated over and over, mixed with rests. > > Best, > > Jean >
Re: Duration shortcut not working for rests
> 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 > } > ``` It's on purpose (even though I tend to agree that it is a bit quirky). One reason is to simplify the writing of percussion lines, where the same drum name is often repeated over and over, mixed with rests. Best, Jean signature.asc Description: This is a digitally signed message part
Fwd: Duration shortcut not working for rests
Forwarded Message Subject:Re: Duration shortcut not working for rests Date: Sat, 3 Feb 2024 17:19:42 -0500 From: William Ashton To: Jakob Pedersen Part of what may be confusing me is that when defining a \new Dynamics voice, I will use only spacer rests, and I typically only specify the first "s", leaving only the durations for the rest of the piece. For example... \new Dynamics { s1 | 1 | 2\< 2\> | 1\! } Yet, if I try similar in a music expression with pitches, it refuses to remember the spacers. \version "2.25.6" { c'4 4 4 4 % These 4s are "c"s instead of rests | r4 4 4 4 % These are still "c"s | s4 4 4 4 } The behavior changed. Why? On Sat, Feb 3, 2024 at 5:11 PM William Ashton wrote: 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 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 }
Fwd: Duration shortcut not working for rests
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 To: Jakob Pedersen 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 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 }
Re: Duration shortcut not working for rests
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 }
Duration shortcut not working for rests
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 }