lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Doing some strange stuff with multi-measure rests


From: Jan-Peter Voigt
Subject: Re: Doing some strange stuff with multi-measure rests
Date: Fri, 5 May 2017 14:59:32 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

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 address@hidden:
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
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user





reply via email to

[Prev in Thread] Current Thread [Next in Thread]