[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: override default bar width for only one bar
From: |
Klaus Blum |
Subject: |
Re: override default bar width for only one bar |
Date: |
Sun, 31 Jan 2016 09:11:16 -0700 (MST) |
Hi Ryan,
the command you are looking for is \newSpacingSection.
If the effect is not enough, you could simply add another voice and do some
invisible stuff to consume additional space:
% -----------------------------------------------------
\version "2.19.25"
\score {
\relative c'' {
g4 e e2 | f4 d d2 | c4 d e f | g4 g g2 |
g4 e e2 | f4 d d2 | c4 e g g | c,1 |
\newSpacingSection
\override Score.SpacingSpanner.base-shortest-duration = #(ly:make-moment
1/64)
<<
{d4 d d d |}
{
\new Voice
\hideNotes
\repeat unfold 4 { s8 \hide r16 \hide r16 }
\unHideNotes
}
>>
\newSpacingSection
\revert Score.SpacingSpanner.base-shortest-duration
d4 e f2 | e4 e e e | e4 f g2 |
g4 e e2 | f4 d d2 | c4 e g g | c,1 |
}
\layout {
\context {
\Score
}
}
}
% -----------------------------------------------------
Cheers,
Klaus
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/override-default-bar-width-for-only-one-bar-tp186661p186691.html
Sent from the User mailing list archive at Nabble.com.