lilypond-user
[Top][All Lists]
Advanced

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

Re: Fill indication in percussion scores


From: Pierre Perol-Schneider
Subject: Re: Fill indication in percussion scores
Date: Mon, 3 Feb 2020 10:19:06 +0100

Hi Marco, hi Kevin,

If you want to stick to the image, I'd modified Kevin's coding as:

{
  \override TextSpanner.bound-details.left.padding = #3.5
  \override TextSpanner.bound-details.right.padding = #-3.5
  \override TextSpanner.bound-details.left.text = \markup \lower #1 "fill "
  \override TextSpanner.thickness = #1.8
  \override TextSpanner.dash-fraction = #.5
  \override TextSpanner.dash-period = #2
  \override TextSpanner.bound-details.right.text = \markup \draw-line #'(0 . -1)
  \override Rest.stencil = #ly:percent-repeat-item-interface::beat-slash
  \override Rest.thickness = #0.48
  \override Rest.slope = #1
  \override Rest.X-extent = #'(-2 . 2)
  r4 r\startTextSpan r r \stopTextSpan
  r r r
}

Cheers,
Pierre

Le lun. 3 févr. 2020 à 09:24, Kevin Barry <address@hidden> a écrit :
On Mon, Feb 03, 2020 at 08:41:21AM +0100, Marco Bagolin wrote:
> I tried to use:
>
> \ottava #1
> \set Staff.ottavation = #”fill”
> ... music in drum mode...
> \ottava #0
>
> but obviously it can not work in drum mode...

Hi Marco,

Perhaps a TextSpanner would be a better choice for this. Does something
like the below do what you want?

{
  \override TextSpanner.bound-details.left.text = \markup \lower #1 "fill"
  \override TextSpanner.bound-details.right.text = \markup \draw-dashed-line #'(0 . -1)
  \override TextSpanner.to-barline = ##t
  c'4\startTextSpan c' c' c'
  c'\stopTextSpan
}

Kevin


reply via email to

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