lilypond-user
[Top][All Lists]
Advanced

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

Re: Using \partial with TACET


From: Pierre Perol-Schneider
Subject: Re: Using \partial with TACET
Date: Fri, 9 Oct 2015 09:57:08 +0200

Hi Andrew,

How about:

\version "2.19.28"

tacet =
#(define-scheme-function (parser location str) (string?)
   #{
      \compressFullBarRests
      \once\override MultiMeasureRest.expand-limit = #1
      \once\override MultiMeasureRestNumber.font-name = "Vera Bold"
      \once\override MultiMeasureRestNumber.stencil =
        #(lambda (grob)(grob-interpret-markup grob
           (markup #:whiteout #:pad-markup .8 str)))
      \once\override MultiMeasureRest.layer = #-2
      \once\override MultiMeasureRestNumber.layer = #-1
      \once\override MultiMeasureRestNumber.Y-offset = #-.5
   #})

tympanoMusic = {
  \time 2/4
  \clef bass
  \partial 8
  r8 |
  \tacet "Tacet" R2*54
  \bar "||" \break
  \time 3/4
  \tacet "Tacet bis Ende" R2.*29
  \bar "|."
}

theMusic = {
  \time 2/4
  \partial 8
  c'8 |
  \repeat unfold 32 c'2
  c'4 c'8
  \tempo\markup\sans\medium\fontsize #4 "Adagio" c'8 |
  \repeat unfold 21 c'2
  \bar "||" \break
  \time 3/4
  \repeat unfold 29 c'2.
  \tweak break-visibility #begin-of-line-invisible
  \mark\markup\musicglyph #"scripts.ufermata"
  \bar "||"
}

%% Part:
\score {
  \tympanoMusic
  \header { piece = "Part" }
}

%% Full score:
\score {
  <<
    \new StaffGroup <<
      \new Staff \theMusic
      \new Staff \theMusic
    >>
    \new Staff \tympanoMusic
  >>
  \header { piece = "Full Score" }
  \layout {
    \context {
      \Staff
      \RemoveEmptyStaves
    }
  }
}


Cheers,
~Pierre

2015-10-08 21:46 GMT+02:00 N. Andrew Walsh <address@hidden>:
correct. Each movement has its own \score block, in which the starting meter is set with a single \time command at the top. Subsequent meter changes are handled by the \systembreaks variable.

On Thu, Oct 8, 2015 at 9:32 PM, David Kastrup <address@hidden> wrote:
"N. Andrew Walsh" <address@hidden> writes:

> duh, I am A Idiot, sorry. That needed some extra code to work. Here's a
> more comprehensive version:
>
> \version "2.19.28"
> \time 2/4
[...]

Uh, this will set one score containing nothing but the time signature
change.  But this change will not propagate in any way to other scores.

--
David Kastrup


_______________________________________________
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]