\version "2.24.4"

\header {
	title = "Dort Beygir"
	composer = "Transcribed by Tano"
	arranger = "Arr. Paul Marini"
	copyright = "8/22/2026" %date of latest edits
}
\paper {
  #(set-paper-size "letter")
  }

the_form = %Form
	\markup { \box \column {
	\line { " " }
	\line { \bold " Form: " }
	\line { " A - clarinet with accordion drone. Add drums on the repeat " }
	\line { " B - clarinet accordion and drums. Mids play 2nd ending " }
	\line { " A B - faster, everybody playing " }
	\line { " Solo - mids drone " }
	\line { " A B - clarinet and drums (no mids or melody) " }
	\line { " A B - even faster, everybody playing. End in time, short " }
	\line { " " }
	}}

test = { \relative c' { \tempo 4 = 80 
	\repeat volta 2 {
	}
}
}

%{ ornament conventions, a/o 10/2017
%	\prall		regular up ornament, metric
%	\lineprall	quick, nonmetric up ornament		(was \mordent)
%	\mordent	regular down ornament, nonmetric	(was \upbow)
%	\prallprall	consecutive up ornaments, metric
%   \trill		trill
%	\turn		turn of some sort
%}

%{ split part:
%	<<
%		{ c8 d e f g f e d | c1 | }
%	\\
%		{ c,2 d8 e f g | c4 g e c | }
%	>>
%}

%{ modified volta spanners:
% (now we are putting the alternatives inside the repeat)
%	\repeat volta 4 {
%		\volta 1,2,3 { ... }
%		\volta 4 { ... }
%	}
%}

%{ modified notes:
%   small notes:     \magnifyMusic #0.75 { ... }
%   slash notation:  \improvisationOn \omit Stem  -- how to get stems back on?!
%}

%{ right-aligned text: \textEndMark \markup {}
%}

melody = { \relative c'' { 
  \tempo 4 = 140
	\time 2,2,3,2 9/8

	\mark \markup { \box "A" }
	\repeat volta 2 {
    a2 e'4.~ e4 | f8 des4. e8 c4~ c | 
    des8 c4. des8 beh4 a16 beh a beh | c8 r r4 r4. r4 |
	}
  \break

	\mark \markup { \box "B" }
	\repeat volta 2 {
    c16 des c beh c8 e des e des c beh | beh16 c beh a beh8 des c des c beh a |
    a16 beh a g a8 beh c des beh c4 |
	}
  \alternative {
    { c16 beh a beh a g a beh c8 r4 r4 | }
    { c16 beh a beh a8 beh a4 r8 r4 | }
  }
  \break

}}

melody_two = { \relative c'' { 
	\time 2,2,3,2 9/8

	\mark \markup { \box "A" }
	\repeat volta 2 {
    a2 e'4.~ e4 | f8 des4. e8 c4~ c | 
    des8 c4. des8 beh4 a16 beh a beh | c8 r r4 r4. r4 |
	}
  \break

	\mark \markup { \box "B" }
	\repeat volta 2 {
    <a c>2 <bes des>4.~ <bes des>4 | <bes des>2 <c e>4.~ <c e>4 |
    r2 r4. r4 |
	}
  \alternative {
    { c16 beh a beh a g a beh c8 r4 r4 | }
    { c16 beh a beh a8 beh c16 beh a beh a beh a4-- | }
  }
  \break

}}

midbrass = { \relative c { 
	\time 2,2,3,2 9/8

	\mark \markup { \box "A" }
	\repeat volta 2 {
    r8^\markup { \italic \small "tacet 1st time. On DS, 1st x first bar just play whole note A!" } r16 <a' c e>32 <a c e> <a c e>8 <a c e> r4. <a c e>4-> |
    r8 r16 <a c e>32 <a c e> <a c e>8 <a c e> r <f f'>-- <e e'>-. <des des'>-- <c c'>-. |
    <bes bes'>8-- <a a'>-. <a' c e>8 <a c e> r <a c e> <g des' f> <a c e>4 |
    <a c e>4-^ r r4. r4 |
	}

	\mark \markup { \box "B" }
	\repeat volta 2 {
    <e a c>2 <f bes des>4.~ <f bes des>4 | <g bes des>2 <e a c>4.~ <e a c>4 |
    <a, a'>2~ <a a'>4.~ <a a'>4 |
	}
  \alternative {
    { <a a'>2~ <a a'>4.~ <a a'>4 | }
    { r8 <a a'> <a a'> <a a'> <a a'> <a a'> <a a'> <a a'> <a a'> | }
  }
  \break

}}

bass = { \relative c { 
	\time 2,2,3,2 9/8

	\mark \markup { \box "A" }
	\repeat volta 2 {
    r2 r4. r4 | r2 r4. r4 | r2 r4. r4 | r2 r4. r4 |
	}

	\mark \markup { \box "B" }
	\repeat volta 2 {
    c2 des4.~ des4 | g,2 c4.~ c4 | a2 a4.~ a4 |
	}
  \alternative {
    { r2 r4. r4 | }
    { r8 a, a a a a a a a | }
  }
  \break

}}


changes = { \chordmode {

% A
a1:min a8:min | a1:min a8:min | a1:min a8:min | a1:min a8:min |

% B
a2:min/c bes4.:min/des bes4:min/des | g2:min7.5- a4.:min/c a4:min/c | 
a1:min a8:min | a2:min c4. c4 | a1:min a8:min |

% Solos
}}


\book {
	\bookOutputSuffix "score"
  \header { poet = "Score" }
	\score {
    <<
      \new ChordNames {
        \set chordChanges = ##t
        \changes
      }
      \new Staff { \clef treble
        \melody
      }
      \new Staff { \clef treble
        \melody_two
      }
      \new Staff { \clef bass
        \midbrass
      }
      \new Staff { \clef bass
        \bass
      }
    >>
	}
	\the_form
}
\book {
	\bookOutputSuffix "melody"
  \header { poet = "Melody" }
	\score {
    <<
      \new ChordNames {
        \set chordChanges = ##t
        \changes
      }
      \new Staff { \clef treble
        \melody
      }
    >>
	}
	\the_form
}
\book {
	\bookOutputSuffix "midbrass"
  \header { poet = "Midbrass" }
	\score {
    <<
      \new ChordNames {
        \set chordChanges = ##t
        \changes
      }
      \new Staff { \clef bass
        \midbrass
      }
    >>
	}
	\the_form
}
% \book {
% 	\score {
% 		<<
% 			\new Staff {
% 				\set Staff.midiInstrument = #"trumpet" \unfoldRepeats
% 				\melody
% 			}
% 			\new Staff {
% 				\set Staff.midiInstrument = #"trumpet" \unfoldRepeats
% 				\melody_two
% 			}
%       \new Staff {
%         \set Staff.midiInstrument = #"trumpet" \unfoldRepeats
%         \midbrass
%       }
%       \new Staff {
%         \set Staff.midiInstrument = #"trumpet" \unfoldRepeats
%         \bass
%       }
% 		>>
% 		\midi { }
% 	}
% }
%{
\book {
	\score {
		<<
			\new Staff {
				\set Staff.midiInstrument = #"trumpet" \unfoldRepeats
				\test
			}
		>>
		\midi { }
	}
}
%}
