%% Generated by lilypond-book
%% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=160\mm]
\include "lilypond-book-preamble.ly"


% ****************************************************************
% Start cut-&-pastable-section
% ****************************************************************

#(ly:set-option 'eps-box-padding 3.000000)



\paper {
  indent = 0\mm
  line-width = 160\mm
  % offset the left padding, also add 1mm as lilypond creates cropped
  % images with a little space on the right
  line-width = #(- line-width (* mm  3.000000) (* mm 1))
}

\layout {
  
}




% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "/lilypond-2.24.4/input/regression/beat-performer.ly"
\sourcefileline 0
\version "2.23.5"

\header {
  texidoc = "Show the effect of the @code{Beat_performer} on drum
tremolos: start of the bar and its beats are marked
by  @code{\\marcato} and @code{\\accent}, respectively, unless manual
syncopes in less distance than the last `regular' beat precede,
indicated with one of those two articulations explicitly."
}

"\*" = \repeat unfold \etc

music = \drummode {
  \* 32 sn32 | 1 |
  8 \* 3 { <>-> \* 8 32 } <>->
  \* #(+ 4 32) 32 | 1 |
  \bar "|."
}

\score {
  <<
    \new DrumStaff
    \new DrumVoice {
      <>^\markup { Without \typewriter { Beat_performer } }
      \music
    }
    \new DrumStaff
    \new DrumVoice \with {
      %% Instantiate Beat_performer also as an engraver to see its effects.
      \consists "Beat_performer"
      \consists "Beat_engraver"
    }
    {
      <>^\markup { With \typewriter { Beat_performer } }
      \music
    }
  >>
  \midi {
    \tempo 4=80
  }
  \layout {
  }
}



% ****************************************************************
% end ly snippet
% ****************************************************************
