\version "2.24.4"

\header {
	title = "Que Dolor / Iag Bari"
	composer = ""
	arranger = "Arr. Cao/Marini"
	copyright = "2026-10-05" %date of latest edits
}
\paper {
  #(set-paper-size "letter")
  indent = #0
  }

the_form = %Form
	\markup { \box \column {
	\line { " " }
	\line { \bold " Form: " }
	\line { " A (Instrumental), A (Vocal), B (Vocal), A (Vocal) " }
	\line { " A (Instrumental), A (Vocal), B (Vocal), A (Hits/Drums) " }
	\line { " Solos " }
	\line { " B (Vocal), A (Vocal) " }
	\line { " bonus A (Vocal and Instrumental both)" }
	\line { " " }
	}}

melody = { \relative c'' { 
  \time 2/4

  \section
  \sectionLabel \markup { \box "A (Verse) Instrumental" }
	\repeat volta 2 {
    b16^\markup { \italic \tiny "8va optional" } c b c d4\prall | b16 c b c d4\prall | 
    r16 f[ r ees] d8 c | d16 ees c d b4 |
    \break
    aes16 b aes b c4\prall | aes16 b aes b c4\prall |
    r16 f[ r ees] d8 c | b16 c aes b g4 |
	}
  \break

  \section
  \sectionLabel \markup { \box "A (Verse) Vocal" }
	\repeat volta 2 {
    R2*8 |
  }
  \break

  \section
  \sectionLabel \markup { \box "B (Chorus)" }
  R2 | r16 g aes b c d ees e |
  \repeat volta 2 {
    f8 r r4 | r r8 ees16^\markup { \italic \tiny "2nd time only" } d | ees8 r r4 | r r8 d16 c |
    \break
    d8 r r4 | r2 | c16^\markup { \italic \tiny "both times" }[ c r b] r aes[ r g] |
    \alternative {
      { r16 g aes b c d ees e | }
      { R2 | } 
    }
  }
  \break

  \section
  \sectionLabel \markup { \box "A (Verse) Hits/Drums" }
  \repeat volta 2 {
    <g, b>8^\markup { \italic \tiny "tersa 2nd time only" } <aes c> <b d>[ r16 <g b>] | r <aes c>[ r <b d>] r4 | R2*2 |
    <f aes>8 <g b> <aes c>[ r16 <f aes>] | r <g b>[ r <aes c>] r4 | R2*2 |
  }
  \break

  \section
  \sectionLabel \markup { \box "Solos" }
	\repeat volta 2 {
    R2*4 |
	}
  \break

}}

midbrass = { \relative c' { 
	\time 2/4

  \section
  \sectionLabel \markup { \box "A (Verse) Instrumental" }
	\repeat volta 2 {
    \repeat percent 4 {
      r8 <g b d>16 <g b d> r <g b d> <g b d> <g b d> |
    }
    \repeat percent 3 {
      r8 <f aes c>16 <f aes c> r <f aes c> <f aes c> <f aes c> |
    }
    r8 <g b d>16 <g b d> r <g b d> <g b d> <g b d> |
	}
  \break

  \section
  \sectionLabel \markup { \box "A (Verse) Vocal" }
	\repeat volta 2 {
    \repeat percent 4 {
      r8 <g b d>16 <g b d> r <g b d> <g b d> <g b d> |
    }
    \repeat percent 3 {
      r8 <f aes c>16 <f aes c> r <f aes c> <f aes c> <f aes c> |
    }
    r8 <g b d>16 <g b d> r <g b d> <g b d> <g b d> |
	}
  \break

  \section
  \sectionLabel \markup { \box "B (Chorus)" }
  r8 <g b d>16 <g b d> r <g b d> <g b d> <g b d> | r16 <g, g'> <aes aes'> <b b'> <c c'> <d d'> <ees ees'> <e e'> |
  \repeat volta 2 {
    <f f'>16[ r <f aes c> <f aes c>] r <f aes c> <f aes c> <f aes c> |
    r8 <f aes c>16 <f aes c> r <f aes c> <f aes c> <f aes c> |
    \repeat percent 2 {
      r8 <ees g c>16 <ees g c> r <ees g c> <ees g c> <ees g c> |
    }
    \break
    \repeat percent 2 {
      r8 <g b d>16 <g b d> r <g b d> <g b d> <g b d> |
    }
    <aes c ees>16[ <aes c ees> r <g b d>] r <f aes c>[ r <g b d>]  |

    \alternative {
      {
        r16 <g, g'> <aes aes'> <b b'> <c c'> <d d'> <ees ees'> <e e'> |
      }
      {
        r8 <g b d>16 <g b d> r <g b d> <g b d> <g b d> |
      }
    }
  }
  \break

  \section
  \sectionLabel \markup { \box "A (Verse) Hits/Drums" }
  \repeat volta 2 {
    <g b>8^\markup { \italic \tiny "tersa 2nd time only" }  <aes c> <b d>[ r16 <g b>] | r <aes c>[ r <b d>] r4 | R2*2 |
    <f aes>8 <g b> <aes c>[ r16 <f aes>] | r <g b>[ r <aes c>] r4 | R2*2 |
  }
  \break

  \section
  \sectionLabel \markup { \box "Solos" }
	\repeat volta 2 {
    \repeat percent 4 {
      r8 <g b d>16 <g b d> r <g b d> <g b d> <g b d> |
    }
	}
  \break





}}


changes = { \chordmode {
\set minorChordModifier = \markup { \fontsize #4 "-" }

% A (Verse) Instrumental
g2 | g | g | g | 
f2:min | f:min |f:min | g |

% A (Verse) Vocal
g2 | g | g | g | 
f2:min | f:min |f:min | g |

% B (Chorus)
g2 | g |
f2:min | f:min | c:min | c:min |
g2 | g | aes4 f | g2 | g |

% A (Verse) Hits/Drums
g2 | g | g | g | 
f2:min | f:min |f:min | g |

% Solos
g2 | g | g | g | 

}}


\book {
	\bookOutputSuffix "score"
  \header { poet = "Score" }
	\score {
    <<
      \new ChordNames {
        \set chordChanges = ##t
        \changes
      }
      \new Staff { \clef treble
        \melody
      }
      \new Staff { \clef bass
        \midbrass
      }
    >>
	}
	\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
% 				\trumpet
% 			}
% 		\new Staff {
% 			\set Staff.midiInstrument = #"trumpet" \unfoldRepeats
% 			\midbrass
% 		}
% 		>>
% 		\midi { }
% 	}
% }