%% Generated by lilypond-book
%% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=160\mm,paper-height=845.047\pt,paper-width=597.508\pt,papersize='(cons (* 597.508 pt) (* 845.047 pt))]
\include "lilypond-book-preamble.ly"


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

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



\paper {
  #(set-paper-size '(cons (* 597.508 pt) (* 845.047 pt)))
  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.26.0/input/regression/polymetric-time-scaled-beam-exceptions.ly"
\sourcefileline 0
\version "2.25.32"

\header {
  texidoc = "In this test, the Score time signature is 3/2.  In the staves with
scaled meters, the automatic beamer should use the default exceptions for the
written time signatures."
}

#(ly:set-option 'warning-as-error #t)

\layout {
  indent = 0
}

\fixed c' <<
  \new Staff {
    \time 3/2
    \repeat unfold 15 c2
  }
  \new Staff {
    \scaleDurations 3/2 {
      \context Staff \polymetric \time 2/2
      \contextPropertyCheck Staff.beamExceptions
      #'((end . ((1/32 . (8 8 8 8)))))
      \contextPropertyCheck Staff.beatBase #1/2
      \contextPropertyCheck Staff.beatStructure #'(1 1)
      \contextPropertyCheck Staff.measureLength \default
      \contextPropertyCheck Staff.meterScalingFactor #3/2
      \contextPropertyCheck Staff.submeasureStructure #'(2)
      \contextPropertyCheck Staff.timeSignature 2/2

      \repeat unfold 8 c8 |
      \repeat unfold 4 \tuplet 3/2 { c8 c c } |
      \repeat unfold 16 c16 |
      \repeat unfold 8 \tuplet 3/2 { c16 c c } |
      \repeat unfold 32 c32 |
    }
  }
  \new Staff {
    \scaleDurations 3/2 {
      \context Staff \polymetric \time 4/4
      \contextPropertyCheck Staff.beamExceptions
      #'((end . ((1/8 . (4 4))
                 (1/12 . (3 3 3 3)))))
      \contextPropertyCheck Staff.beatBase #1/4
      \contextPropertyCheck Staff.beatStructure #'(1 1 1 1)
      \contextPropertyCheck Staff.measureLength \default
      \contextPropertyCheck Staff.meterScalingFactor #3/2
      \contextPropertyCheck Staff.submeasureStructure #'(4)
      \contextPropertyCheck Staff.timeSignature 4/4

      \repeat unfold 8 c8 |
      \repeat unfold 4 \tuplet 3/2 { c8 c8 c8 } |
      \repeat unfold 16 c16 |
      \repeat unfold 8 \tuplet 3/2 { c16 c c } |
      \repeat unfold 32 c32 |
    }
  }
>>



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