[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: spacing of invisible rests
From: |
William Rehwinkel |
Subject: |
Re: spacing of invisible rests |
Date: |
Fri, 24 Mar 2023 18:03:27 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 |
Dear Jaime,
If you mean silent rests such as s4, s8 etc. I thought those do not
actually take up any space, and are analogous to using \skip for that
duration. As in the following example:
\version "2.24.1"
<<
\new Staff {
c'1 c'1
}
\new Staff {
\repeat unfold 128 { s128 }
}
>>
As for how to make measures longer, I usually override the
NoteHead.extra-spacing-width (or same, for Rest) property to add more
horizontal space before or after a note, but I'm not sure that will be
the best option here.
-William
On 3/24/23 17:56, Jaime Oliver wrote:
Hi all,
I am trying to control the amount of space that s events take on each
bar so that I can make some bars longer. Is there a way I can specify
this? Also, some bars which have values like R1 are also really short,
how can I make those longer?
In other words, is there a way to make bars visually longer even if they
show empty space?
I have tried things like the one below but have not had good results
\layout{
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/32)
\override SpacingSpanner.base-shortest-duration =
#(ly:make-moment 1/32)
\override SpacingSpanner.uniform-stretching = ##t
I am also attaching a screenshot so you can see the kinds of results I
am getting.
All the best,
Jaime
image.png
--
+ ---------------------------------------------- +
| William Rehwinkel - Oberlin College and |
| Conservatory '24 |
| william@williamrehwinkel.net |
| PGP key: |
| https://williamrehwinkel.net/static/pubkey.txt |
+ ---------------------------------------------- +
OpenPGP_signature
Description: OpenPGP digital signature