lilypond-devel
[Top][All Lists]
Advanced

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

Re: R\fermata: How to build a markup in C++?


From: Malte Meyn
Subject: Re: R\fermata: How to build a markup in C++?
Date: Tue, 16 Apr 2019 12:58:31 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1



Am 16.04.19 um 00:24 schrieb Dan Eble:
On Apr 15, 2019, at 05:55, Malte Meyn <address@hidden> wrote:


Attached you can find what I’ve tried as a patch file, below some LilyPond code 
for testing.

It would be valuable to consider more cases.
   * multi-measure rests that actually span multiple measures, e.g. R1*8\fermata
   * expanded vs. not expanded vs. church rests
   * with and without measure counts
   * etc.?

In all these cases \fermata behaves the same as \fermataMarkup, because both simply create a MultiMeasureRestText. It’s placed on the first measure of expanded MMRs, outside of MultiMeasureRestNumbers, and inside of MeasureCounters.


\version "2.21.0"

\new Staff \with {
  \consists Measure_counter_engraver
  \override MultiMeasureRestText.color = #blue
} {
  R1\fermata
  R1\fermataMarkup
  \bar "||"

  R1*3\fermata
  R1*3\fermataMarkup
  \bar "||"

  \compressFullBarRests
  R1*3\fermata
  R1*3\fermataMarkup
  \bar "||"

  R1*12\fermata
  R1*12\fermataMarkup
  \expandFullBarRests
  \bar "||"

  \startMeasureCount
  R1*3\fermata
  \stopMeasureCount
  \startMeasureCount
  R1*3\fermataMarkup
  \stopMeasureCount
}



reply via email to

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