|
From: | N. Andrew Walsh |
Subject: | Re: add stems to rests under a beam? |
Date: | Sat, 8 Aug 2015 12:10:33 +0800 |
N. Andrew Walsh wrote
> I'd prefer to keep the position of the rests as close to
> unchanged (ie where they would otherwise appear, were they not under a
> beam) as I can. Obviously this will force all the stems to be considerably
> longer than normal, but I'd rather that than have the rests suddenly drop
> towards the bottom of the staff.
Hi Andrew,
you could use an invisible notehead and put the rest in a new voice:
% ----------------------------------------------------
\relative c' {
\override Stem.stemlet-length = #0.75
c2~ c4 c8[
<<
\hide d'16
\new Voice
b16\rest
>>
c,16] | c4
}
% ----------------------------------------------------
However, there is a problem: the rest is not centered below the stemlet.
You could use \shiftOff, but this will produce an error message about
noteheads and rests on the same stem:
% ----------------------------------------------------
\relative c' {
\override Stem.stemlet-length = #0.75
c2~ c4 c8[
<<
\hide d'16
\new Voice
\shiftOff
b16\rest
>>
c,16] | c4
}
% ----------------------------------------------------
There's some way to supress that with "expect-warning"...
I also tried \omit NoteHead, but that doesn't help.
But maybe that's a start...
Cheers,
Klaus
--
View this message in context: http://lilypond.1069038.n5.nabble.com/add-stems-to-rests-under-a-beam-tp179313p179328.html
Sent from the User mailing list archive at Nabble.com.
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
[Prev in Thread] | Current Thread | [Next in Thread] |