Yeah, that seems to work, thanks!
I'd prefer if it didn't reduce the left margin, but there's no point in
being picky. I guess it can be fixed by tweaking the X-offset and the
scaling factor. I'm considering experimenting with modifying the stencil
expression itself, though.
Getting the drum roll to be normal-sized is easy - just don't make it a
grace.
As for the text inside the MMR, I think one possible way would be to
make MMRNumber.text contain both the fermata and a whiteouted text.
On 05/05/17 14:59, Jan-Peter Voigt wrote:
Hi,
here are some hints, how might tweak the output:
\new RhythmicStaff {
b'1 | \afterGrace { % we place the drum-roll on a grace position
% override the stencil for the MultiMeasure stencil
\once \override MultiMeasureRest.stencil = #(lambda (grob) (let
((stil (ly:multi-measure-rest::print grob)))
(ly:stencil-scale stil .5 1)))
\mmrferm R1*2
} { % shift the drum-roll right
\once \override NoteColumn.force-hshift = #1 b'2:32\< } | b'1\!
}
The drum roll is small, because its a grace - I don't know how to do it,
but it should be easy to solve.
HTH
Jan-Peter
Am 05.05.2017 um 10:24 schrieb caag...@gmail.com:
Basically, I want to show a rest with indeterminate length for all
parts, except the drumset, which is to make undefined creepy noises, and
the cymbal, which should do a drumroll-crescendo (not sure if there's
any fancy name for that) before the rest of the parts resume playing.
I've attached an image of what I have so far, and one of what I want
(which obviously is photoshopped).
Is this possible to do? (Or is there some better way to show it that I
haven't thought of?)
(Mostly) minimal example of what I have:
```
\version "2.19.59"
mmrferm =
\once \override MultiMeasureRestNumber.text =
\markup { \musicglyph #"scripts.ufermata" }
\layout {
\context {
\Score
\compressFullBarRests
\override MultiMeasureRest.expand-limit = #1
}
}
<<
\new Staff { b'1 | \mmrferm R1*2 | b'1 }
\new DrumStaff { b'1 | \mmrferm R1*2 | b'1 }
\new RhythmicStaff { b'1 | \mmrferm R1*3/2 b'2:32\< | b'1\! }
```
(In the real score I create a 'MultiMeasureRestEvent explicitly to avoid
the barcheck.)
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user