\version "2.24.3"

#(set-default-paper-size '(cons (* 210 mm) (* 5000 mm)))

\header {
  tagline = #f
}

gtrOne = \relative {
  \time 6/8
  \key fis \minor
  \tempo 4 = 157
  \newSpacingSection
  \override Score.SpacingSpanner.spacing-increment = #0.1
  \partial 256 s256 \bar "||"
  \newSpacingSection
  \revert Score.SpacingSpanner.spacing-increment
  fis8\mf 8 8 8 8 8 |
  a8 8 8 8 8 8 |
  e8 8 8 fis8 8 8 |
  d8 8 8 cis8 \afterGrace cis4\glissando { \stemDown \hideNotes gis'16 } \unHideNotes \stemNeutral |
  fis8 8 8 8 8 8 |
  b8 8 8 8 8 8 |
  e,8 8 8 fis8 8 8 |
  d8 8 8 cis8 \afterGrace cis4\glissando { \stemDown \hideNotes gis'16 } \unHideNotes \stemNeutral |
  fis8 8 8 8 8 8 |
  a8 8 8 8 8 8 |
  e8 8 8 fis8 8 8 |
  d8 8 8 cis8 \afterGrace cis4\glissando { \stemDown \hideNotes gis'16 } \unHideNotes \stemNeutral |
  fis8 8 8 8 8 8 |
  b8 8 8 8 \afterGrace b4\glissando { \stemDown \hideNotes fis16 } \unHideNotes \stemNeutral |
  e8 8 8 fis8 8 8 \bar "||"
  \time 2/2
  ais2 ais |
  ais2 ais4 b |
  a?2 a |
  a2 a4 cis |
  \time 2/4
  r2 |
  \time 2/2
  fis,2\p fis |
  fis2 fis4 gis4 |
  e2 e |
  e2 e4 d~ | \bar "||"
  \tempo 4 = 180
  \time 3/4
  d2. |
}

gtrTwoVoiceOne = \relative {
  \time 6/8
  \key fis \minor
  \partial 256 s256 \bar "||"
  d'8\mf 8 8 8 8 8 |
  cis8 8 8 8 \afterGrace cis4\glissando { \stemDown \hideNotes gis16 } \unHideNotes \stemUp |
  a8 8 8 8 \afterGrace a4\glissando { \stemDown \hideNotes e16 } \unHideNotes \stemUp |
  fis8 8 8 8 8 8 |
  d'8 8 8 8 8 e8 |
  cis8 8 8 8 \afterGrace cis4\glissando { \stemDown \hideNotes gis16 } \unHideNotes \stemUp |
  a8 8 8 8 b8 8 |
  gis8 8 8 8 8 8 |
  d'8 8 8 8 8 8 |
  cis8 8 8 8 8 8 |
  a8 8 8 8 \afterGrace b4\glissando { \stemDown \hideNotes e,16 } \unHideNotes \stemUp |
  fis8 8 8 8 8 8 |
  d'8 8 8 8 8 e8 |
  cis8 8 8 8 \afterGrace cis4\glissando { \stemDown \hideNotes gis16 } \unHideNotes \stemUp |
  a8 8 8 8 b8 8 |
  \time 2/2
  ais2 ais |
  ais2 ais4 b |
  e2 e |
  e2 e4 d |
  \time 2/4
  r2 |
  \time 2/2
  ais2\p ais |
  ais2 ais4 b |
  e2 e |
  e2 e4 cis4~ |
  \time 3/4
  cis2. |
}

gtrTwoVoiceTwo = \relative {
  \time 6/8
  \key fis \minor
  \partial 256 s256 \bar "||"
  fis8 8 8 8 8 8 |
  fis8 8 8 8 fis4 |
  \repeat unfold 13 { fis8 8 8 8 8 8 | }
  \time 2/2
  \repeat unfold 2 { fis2 fis | fis2 fis4 fis | }
  \time 2/4
  r2
  \time 2/2
  fis2 fis |
  fis2 fis4 fis |
  fis2 fis |
  fis2 fis4 fis~ |
  \time 3/4
  fis2. |
}

bass = \relative {
  \time 6/8
  \key fis \minor
  \partial 256 s256 \bar "||"
  d,8\mf 8 8 8 d4 |
  cis8 8 8 8 \afterGrace cis4\glissando { \stemDown \hideNotes e16 } \unHideNotes \stemNeutral |
  b8 8 8 8 b4 |
  b8 b a a b b |
  e8 8 8 8 8 8 |
  fis8 8 8 8 fis4 |
  d8 8 8 8 8 8 |
  d8 d cis cis cis cis |
  cis8\glissando d d d d d |
  cis8 8 8 8 \afterGrace cis4\glissando { \stemDown \hideNotes e16 } \unHideNotes \stemNeutral |
  b8 8 8 8 8 8 |
  b8 b a a b b |
  e8 8 8 8 8 8 |
  fis8 8 8 8 \afterGrace fis4\glissando { \stemDown \hideNotes cis16 } \unHideNotes \stemNeutral |
  d8 8 8 8 8 8 |
  \time 2/2
  ais2 ais |
  ais2 ais4 b |
  e2 e |
  e2 e4 d |
  \time 2/4
  r2 |
  \time 2/2
  s1 |
  s1 |
  s1 |
  s1 |
  \time 3/4
  s2. |
}

kitOne = \drummode {
  \time 6/8
  \partial 256 s256 \bar "||"
  cymc8 hh hh hh <sn hho>4 |
  \repeat percent 3 { hh8 8 8 8 <sn hho>4 | }
  \repeat percent 4 { hh8\halfopen^\markup { \italic "gradually open hi-hat" } hh8\halfopen 8\halfopen 8\halfopen <sn hho>4 | }
  \repeat percent 7 { hho8^\markup { \italic "all hits fully open" } sn16 sn hho4 <sn hho>4 | }
  \time 2/2
  hho2 hho |
  <sn hho>2-> hho |
  hho2 hho |
  <sn hho>2-> \acciaccatura tomfh8 tomfh4^\markup { tom tuned to B } \acciaccatura tomfh8 tomfh4~ |
  \time 2/4
  tomfh2 |
  \time 2/2
  R1*4 |
  \time 3/4
  r4. \acciaccatura sn8 sn8 \acciaccatura sn8 sn4 |
}

kitTwo = \drummode {
  \time 6/8
  \partial 256 s256 \bar "||"
  bd8\mf 8 8 bd4. |
  \repeat percent 3 { bd8 8 8 bd4. | }
  \repeat percent 4 { bd8\< 8 8 bd4. | }
  \repeat percent 7 { bd4.\f bd | }
  \time 2/2
  bd2 bd |
  bd2 bd4 bd |
  bd2 bd |
  bd2 hhp |
  \time 2/4
  r2 |
  \time 2/2
  R1*4 |
  \time 3/4
  s2. |
}

fullScore = <<
  \new Staff \with {
    midiInstrument = "electric guitar (clean)"
    midiPanPosition = #-1.0
  } {
    \clef "treble_8"
    \gtrOne
  }

  \new Staff \with {
    midiInstrument = "electric guitar (jazz)"
    midiPanPosition = #1.0
  } <<
    \clef "treble_8"
    \new Voice = "g2v1" { \voiceOne \gtrTwoVoiceOne }
    \new Voice = "g2v2" { \voiceTwo \gtrTwoVoiceTwo }
  >>

  \new Staff \with {
    midiInstrument = "electric bass (pick)"
    midiPanPosition = #0.0
  } {
    \clef "bass_8"
    \bass
  }

  \tag #'folded {
    \new DrumStaff \with { drumStyleTable = #weinberg-drums-style } <<
      \new DrumVoice { \voiceOne \kitOne }
      \new DrumVoice { \voiceTwo \kitTwo }
    >>
  }
  \tag #'unfolded {
    \new DrumStaff \with { drumStyleTable = #weinberg-drums-style } <<
      \new DrumVoice { \unfoldRepeats { \voiceOne \kitOne } }
      \new DrumVoice { \unfoldRepeats { \voiceTwo \kitTwo } }
    >>
  }
>>

\score {
  \removeWithTag #'unfolded
  \fullScore

  \layout {
    indent = 0

    \context {
      \Score
      \override Glissando.minimum-length = #4
      \override Glissando.springs-and-rods =
                          #ly:spanner::set-spacing-rods
      \override Glissando.thickness = #2
      \omit StringNumber
    }
  }
}

\score {
  \removeWithTag #'folded
  \fullScore

  \midi { }
}
