Dear Jaime, Try using `\once \hideNotes r<duration>` and before that include
\once \override Rest.extra-spacing-width = #'(0 . 50) Or another value, depending on how much space. As in the following example.I'm having trouble figuring out exactly what you are looking for, could you hook up a minimum example of one such instance without the spacing, and describe how you would like space to be added?
-Will
\version "2.24.1"
{
\once \override Rest.extra-spacing-width = #'(0 . 50)
\once \hideNotes r1
}
On 3/24/23 18:31, Jaime Oliver wrote:
Hi William,Indeed what I am after is a s4 that takes some space, I am currently solving it withthings like: \once \hide Rest r16 \once \hide Rest r16 \once \hide Rest r16 \once \hide Rest r16 which will take some more space, but it is not ideal. best, JaimeOn Fri, Mar 24, 2023 at 6:03 PM William Rehwinkel <[email protected] <mailto:[email protected]>> wrote: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 | | [email protected] <mailto:[email protected]> | | PGP key: | | https://williamrehwinkel.net/static/pubkey.txt <https://williamrehwinkel.net/static/pubkey.txt> | + ---------------------------------------------- + -- ********************** Jaime E Oliver LR www.jaimeoliver.pe <http://www.jaimeoliver.pe>
-- + ---------------------------------------------- + | William Rehwinkel - Oberlin College and | | Conservatory '24 | | [email protected] | | PGP key: | | https://williamrehwinkel.net/static/pubkey.txt | + ---------------------------------------------- +
OpenPGP_signature
Description: OpenPGP digital signature
