%% 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
% ****************************************************************



\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 "/home/gub/NewGub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.22/input/regression/musicxml/72c-TransposingInstruments-Change.xml"
\sourcefileline 0
\version "2.22.2"
% automatically converted by musicxml2ly from -
\pointAndClickOff

\header {
    texidoc = 
    "An instrument change from one
          transposition (Clarinet in Eb) to another transposing instrument
          (Clarinet in Bb). The displayed instrument name should also be updated.

          The whole piece is in Bb major (sounding), so first the key signature
          should be one flat, after the change it should have no accidentals.
      "
    }

\layout {
    \context { \Score
        autoBeaming = ##f
        }
    }
PartPOneVoiceOne =  \relative c' {
    \clef "treble" \time 4/4 \key g \major \transposition es' | % 1
    c1 | % 2
    \key c \major \transposition bes \set Staff.instrumentName =
    "Clarinet in Bb" \set Staff.shortInstrumentName = "Bb Cl." c1 \break
    | % 3
    c1 \bar "|."
    }


% The score definition
\score {
    <<
        
        \new Staff
        <<
            \set Staff.instrumentName = "Clarinet in Eb"
            \set Staff.shortInstrumentName = "Eb Cl."
            
            \context Staff << 
                \mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
                \context Voice = "PartPOneVoiceOne" {  \PartPOneVoiceOne }
                >>
            >>
        
        >>
    \layout {}
    % To create MIDI output, uncomment the following line:
    %  \midi {\tempo 4 = 100 }
    }




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