%% 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.27.2/input/regression/musicxml/11h-TimeSignatures-SenzaMisura.xml"
\sourcefileline 0
\version "2.27.2"
% automatically converted by musicxml2ly from -
\pointAndClickOff

%% additional definitions required by the score:
measureLength =
#(define-music-function (length)
   (positive-musical-length-as-number?)
   #{
     \pushContextProperty Timing.measureLength
     \set Timing.measureLength = #length
   #})
measureLengthReset = \popContextProperty Timing.measureLength


\header {
  texidoc = "<senza-misura> elements, indicating either no display of a time
    signature or, if the element has a string value, a senza-misura symbol
    derived from this string. How the string gets interpreted is
    application-dependent.

    The first bar starts with an empty <senza-misura> element; it has three
    eighth notes. The second bar contains a full-measure rest (indicated by
    setting ‘measure=\"yes\"’ for the <rest> element) with a length of a dotted
    half note. The third bar starts with a <senza-misura> element containing
    value ‘X’; it has four eighth notes in two voices. The last bar contains
    five eighth notes in two voices."
}
\layout {
  \context {
    \Staff
    printKeyCancellation = ##f
    \senzaMisuraTimeSignatureX
  }
  \context {
    \Score
    autoBeaming = ##f
  }
}
PartPOneVoiceOne = \relative b' {
  \clef "treble" \key c \major \once \omit Staff.TimeSignature \measureLength
  #3/8 \oneVoice b8 [ b8 b8 ] \measureLengthReset | % 1
  \measureLength #3/4 R2. \measureLengthReset | % 2
  \set Timing.timeSignature = ##f \measureLength #1/2 \voiceOne b8 [ b8 b8 b8 ]
  \measureLengthReset | % 3
  \measureLength #5/8 b8 [ b8 b8 b8 b8 ] \bar "|."
}

PartPOneVoiceTwo = \relative g' {
  \clef "treble" \key c \major \measureLength #3/8 s4. \measureLengthReset
  \measureLength #3/4 s2. \measureLengthReset | % 2
  \set Timing.timeSignature = ##f \measureLength #1/2 g8 [ g8 g8 g8 ]
  \measureLengthReset | % 3
  \measureLength #5/8 g8 [ g8 g8 g8 g8 ] \bar "|."
}


% The score definition
\score {
  <<
    \new Staff = "P1" <<
      \context Staff <<
        \override Staff.BarLine.allow-span-bar = ##f
        \mergeDifferentlyDottedOn
        \mergeDifferentlyHeadedOn
        \context Voice = "PartPOneVoiceOne" {
          \voiceOne \PartPOneVoiceOne
        }
        \context Voice = "PartPOneVoiceTwo" {
          \voiceTwo \PartPOneVoiceTwo
        }
      >>
    >>
  >>
  \layout {}
  % To create MIDI output, uncomment the following line:
  % \midi { \tempo 4 = 100 }
}




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