\version "2.24.4"

\header {
	title = "Hangul"
	composer = "from Orchestra Faților Advahov"
	arranger = "Arr. Dan Cantrell"
	copyright = "8/24/2026" %date of latest edits
}
\paper {
  #(set-paper-size "letter")
  }

the_form = %Form
	\markup { \box \column {
	\line { " " }
	\line { \bold " Form: " }
	\line { " Intro A " }
	\line { " B C - 1st ending " }
	\line { " B C - 2nd ending " }
	\line { " D C with hits - 1st ending " }
	\line { " A B C - 1st ending " }
	\line { " vamp 1st ending w/ bluesy solo on top " }
	\line { " end with lick in bar 22" }
	\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  -- \improvisationOff \undo \omit Stem
%}

%{ right-aligned text: \textEndMark \markup {}
%}

midbrass = { \relative c { 

  \section
  \sectionLabel \markup { \box "Intro" }
  r8^\markup { \italic \tiny "Greg only" } a' r a r a r a | r a r a r a r a |
  \break

  \section
  \sectionLabel \markup { \box "A" \segno }
  <a c e>1~^\markup { \italic \tiny "Oom pah on DS" } | <a c e> | 
  <a c e>~ | <a c e> |
  <a c e>~ | <a c e> |
  \break

  r8 <a c e> r <a c e> r <a c e> r <a c e> | r <a c e> r <a c e> r <a c e> r <a c e> |
  r8 <g c ees> r <g c ees> r <fis a c> r <fis a c> | r <f a c> r <f a c> r <g b d> r <a c e> |
  r8 <a c e> r <a c e> r <a c e> r <a c e> | r <a c e> r <a c e> r <a c e> r <a c e> |

  \repeat volta 2 {
    \section
    \sectionLabel \markup { \box "B" }
      r8 <a c e> r <a c e> r <a c e> r <a c e> | r <a c e> r <a c e> <f a c>4-> <g b d>-> |
      r8 <a c e> r <a c e> r <a c e> r <a c e> | r <a c e> r <a c e> r <a c e> r <a c e> |
      \break

      r <a c e> r <f b d> r <g c e> r <g c e> | r <fis a c> r <fis a c> r <f? a c> r <g b d> | 
      r <a c e> r <a c e> r <a c e> \tuplet 3/2 { r8 c, b } | 
      \tuplet 3/2 { a8( c e } \tuplet 3/2 { a,8 c e }  a4-^) <fis a c>->  |

    \section
    \sectionLabel \markup { \box "C" }
    \repeat percent 3 {
    r8^\markup {
      \italic \tiny "Coming from C: " 
      \teeny \override #'(style . cross) \note {4} #UP
      \teeny \override #'(style . cross) \note {4} #UP
      \teeny \rest {8}
      \teeny \override #'(style . cross) \note {4.} #UP

        } <f b d> r <f b d> r <g c e> r <g c e> | r <gis b e> r <gis b e> r <a c e> r <fis a c> |
    }
    r8 <f b d> r <f b d> r <g c e> r <g c e> |  
    \alternative {
    \volta 1 {
      r <gis b e> r <gis b e> r <a c e> r <a c e> | \bar "||"

      r8 <a c e> r <a c e> r <a c e> r <a c e> | a8 e~ e2. | 
      r8 <a c e> r <a c e> r <a c e> r <a c e> | a,8_\markup { \italic \tiny "Last time D.S." } e~ e2. | 
    }
    \volta 2 {
      r8 <gis' b e> r <gis b e> <a c e>8-^ <a c e>-^ <a c e>-^ <a c e>-^ |
    }
  }
  }
      \break
      \section
      \sectionLabel \markup { \box "D" }
      \repeat volta 2 {
        r8 <a cis e>16 <a cis e> r <a cis e> <a cis e>8 r8 <a cis e>16 <a cis e> r <a cis e> <a cis e>8 |
        r8 <a cis e>16 <a cis e> r <a cis e> <a cis e>8 r8 <g bes d>16 <g bes d> r <g bes d> <g bes d>8 |
        r8 <a cis e>16 <a cis e> r <a cis e> <a cis e>8 r8 <a cis e>16 <a cis e> r <a cis e> <a cis e>8 |
                \alternative {
          \volta 1 { r8 <a cis e>16 <a cis e> r <g bes d> <g bes d>8 r8 <a cis e>16 <a cis e> r <a cis e> <a cis e>8 | }
          \volta 2 { <a cis e>4 <g bes d> <a cis e> <fis a c>->_\markup { \italic \tiny "To C" } | \bar "||"}
        }
      }
}}

bass = { \relative c { 

  \section
  \sectionLabel \markup { \box "Intro" }
  a4 e a e | a e a e |
  \break

  \section
  \sectionLabel \markup { \box "A" \segno }
  a1~^\markup { \italic \tiny "Oom pah on DS" }  | a | 
  a~ | a |
  a~ | a |
  \break

  a4 e a e | a e a e | c' ees, d fis | f? a g a | a e a c | a e a e |
  \break

  \repeat volta 2 {
    \section
    \sectionLabel \markup { \box "B" }
    a4 e a e | a e f g | a e a c | a e a e |
    a4 g c e, | fis fis f g | a e a \tuplet 3/2 { r8 c, b } | 
      \tuplet 3/2 { a8( c e } \tuplet 3/2 { a8 c e }  a4-^) fis-> |
    \break

    \section
    \sectionLabel \markup { \box "C" }
    \repeat percent 3 {
      g,4 b c g | e gis a fis-> | 
    }
    g b c g | 
  \alternative {
    \volta 1 {
      e gis a e | \bar "||"
      a4 e a e | a8 e~ e2. | a4 e a e | a8_\markup { \italic \tiny "Last time D.S." }  e~ e2.|
    }
    \volta 2 {
      e4 gis a8-^ a-^ a-^ a-^ |
    }
  }
  }
      \break
      \section
      \sectionLabel \markup { \box "D" }
      \repeat volta 2 {
        \improvisationOn \omit Stem d4^\markup { \italic \tiny "Cocek!" } d d d | d d d d | d d d d | 
        \alternative {
          \volta 1 { d4 d d d | }
          \volta 2 { \improvisationOff \undo \omit Stem a4 g a fis->_\markup { \italic \tiny "To C" } | \bar "||"}
        }
      }
}}


changes = { \chordmode {

% Intro
a1:min | a:min |

% A
a1:min | a:min | a:min | a:min | a:min | a:min |
a1:min | a:min | c2:min d:7 | f g4 a:min | a1:min | a:min |

% B
a1:min | a2:min f4 g | a1:min | a:min |
a4:min g:7 c2 | d2:7/fis f4 g | a1:min | a2.:min d4:7/fis |

% C
g2 c | e a4:min d:7/fis | g2 c | e a4:min d:7/fis | 
g2 c | e a4:min d:7/fis | g2 c | e a:min | e a:min | 
a1:min | a:min | a:min | a:min |

% D
a1 | a2 g:min | a1 | a4 g:min a2 | a4 g:min a d:7/fis |
}}


\book {
  \header { poet = "Low Brass" }
	\score {
    <<
      \new ChordNames {
        \set chordChanges = ##t
        \changes
      }
      \new Staff { \clef bass
        \midbrass
      }
      \new Staff { \clef bass
        \bass
      }
    >>
	}
	\the_form
}
%{
\book {
	\score {
		<<
			\new Staff {
				\set Staff.midiInstrument = #"trumpet" \unfoldRepeats
				\trumpet
			}
		\new Staff {
			\set Staff.midiInstrument = #"trumpet" \unfoldRepeats
			\midbrass
		}
		>>
		\midi { }
	}
}
\book {
	\score {
		<<
			\new Staff {
				\set Staff.midiInstrument = #"trumpet" \unfoldRepeats
				\test
			}
		>>
		\midi { }
	}
}
%}
