\version "2.24.3"

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

\header {
  tagline = #f
}

gtrOne = \relative {
  \time 3/4
  \key fis \minor
  \tempo 4 = 180
  \override Score.BarNumber.break-visibility = ##(#f #t #t)
  \set Score.currentBarNumber = #0
  \set Score.barNumberVisibility = #all-bar-numbers-visible
  \newSpacingSection
  \override Score.SpacingSpanner.spacing-increment = #0.1
  \partial 32 \hideNotes d32~ |
  \newSpacingSection
  \revert Score.SpacingSpanner.spacing-increment
  \unHideNotes
  \bar "||"
  d2. |
  \grace { s8 } a8\f^\markup { \italic "distortion on" } cis4 gis'8 cis,4 |
  <fis, cis'>8\ff 4 8 4 |
  \time 2/4
  \grace { s8 } <fis cis'>8 4. |
  \time 3/4
  \grace { s8 } a8\f cis4 gis'8 \afterGrace cis,4\glissando { \stemDown \hideNotes fis16 } \unHideNotes \stemNeutral |
  <a d gis>16\ff 16 4 16 16 4 |
  <a d gis>16 16 4 16 16 \afterGrace <a d gis>4\glissando { \stemDown \hideNotes <e a d>16 } \unHideNotes \stemNeutral |
  \grace { s8 } a,8\f cis4 gis'8 cis,4 |
  <fis, cis'>8\ff 4 8 4 |
  \time 2/4
  \grace { s8 } <fis cis'>8 4. |
  \time 3/4
  \grace { s8 } a8\f cis4 gis'8 \afterGrace cis,4\glissando { \stemDown \hideNotes fis16 } \unHideNotes \stemNeutral |
  <a d gis>16\ff 16 4 16 16 4 |
  <a d gis>16 16 4 16 16 4 |
  \repeat unfold 2 {
    <fis, cis'>16 16 4 16 16 4 |
    <fis cis'>16 16 4 16 16 4 |
    <a' d gis>16 16 4 16 16 4 |
    <a d gis>16 16 4 16 16 4 |
  }
  \bar "||"
}

gtrTwo = \relative {
  \time 3/4
  \key fis \minor
  \stemDown
  \partial 32 \hideNotes <fis cis'>32~ |
  \unHideNotes
  \stemNeutral
  <fis cis'>2. |
  \grace { s8 } fis'8\f^\markup { \italic "distortion on" } e4 cis8 \afterGrace d4\glissando { \stemDown \hideNotes a16 } \unHideNotes \stemNeutral |
  <fis, cis'>8\ff 4 8 4 |
  \time 2/4
  \grace { s8 } <fis cis'>8 4. |
  \time 3/4
  \grace { s8 } fis''8\f e4 cis8 d4 |
  gis16\ff 16 4 16 16 4 |
  e16 16 4 16 16 4 |
  \grace { s8 } fis8\f e4 cis8 \afterGrace d4\glissando { \stemDown \hideNotes a16 } \unHideNotes \stemNeutral |
  <fis, cis'>8\ff 4 8 4 |
  \time 2/4
  \grace { s8 } <fis cis'>8 4. |
  \time 3/4
  \grace { s8 } fis''8\f e4 cis8 d4 |
  gis16\ff 16 4 16 16 4 |
  fis16 16 4 16 16 4 |
  \repeat unfold 4 { fis8 e4 cis8 d4 | }
  c8^\markup { \center-align \concat { "[" \italic "sic" "]" } } b4 gis8 a4 |
  cis?8 b4 gis8 a4 |
  \repeat unfold 2 { cis8 b4 gis8 a4 | }
}

bass = \relative {
  \time 3/4
  \key fis \minor
  \partial 32 s32 |
  R2. |
  \grace { s8 } R2. |
  fis,,8\ff 4 8 4 |
  \time 2/4
  \grace { s8 } fis8 fis4.~ |
  \time 3/4
  \grace { s8 } fis4 r2 |
  d'8 4 8 4 |
  d8 4 8 b4 |
  \grace { s8 } R2. |
  fis8 4 8 4 |
  \time 2/4
  \grace { s8 } fis8 fis4.~ |
  \time 3/4
  \grace { s8 } fis4 r2 |
  d'8 4 8 4 |
  d8 4 b8 4 |
  b8 4 a8 4 |
  fis'8 4 a,8 4 |
  b8 4 a8 4 |
  fis'8 4 a,8 \afterGrace a4\glissando { \stemDown \hideNotes e16 } \unHideNotes \stemNeutral |
  \repeat unfold 2 {
    fis8 4 e8 4 |
    d'8 4 e,8 4 |
  }
}

kitOne = \drummode {
  \time 3/4
  \partial 32 s32 |
  r4. \acciaccatura sn8 sn8 \acciaccatura sn8 sn4 |
  \acciaccatura sn8 sn8 hho r \acciaccatura sn8 sn8 hho4 |
  cymc8[ 8 sn] cymc8 4 |
  \time 2/4
  \acciaccatura sn8 sn8 cymc4. |
  \time 3/4
  \acciaccatura sn8 sn8 hho8 r \acciaccatura sn8 sn8 hho4 |
  \repeat percent 2 { cymc4 4 <sn cymc> | }
  \acciaccatura sn8 sn8 hho r \acciaccatura sn8 sn8 hho4 |
  cymc8[ 8 sn] cymc8 4 |
  \time 2/4
  \acciaccatura sn8 sn8 cymc4. |
  \time 3/4
  \acciaccatura sn8 sn8 hho8 r \acciaccatura sn8 sn8 hho4 |
  \repeat percent 2 { cymc4 4 <sn cymc> | }
  \repeat percent 8 { cymc16 sn16 sn4 cymr16 sn16 sn4 | }
}

kitTwo = \drummode {
  \time 3/4
  \partial 32 s32 |
  s2. |
  \grace { s8 } r8\f bd \parenthesize hhp4 bd4 |
  bd8\ff 4 8 4 |
  \time 2/4
  \grace { s8 } r8 bd r bd\f |
  \time 3/4
  \grace { s8 } r8 bd \parenthesize hhp4 bd4 |
  \repeat percent 2 { bd8\ff 4 4. | }
  \grace { s8 } r8\f bd \parenthesize hhp4 bd4 |
  bd8\ff 4 8 4 |
  \time 2/4
  \grace { s8 } r8 bd r bd\f |
  \time 3/4
  \grace { s8 } r8 bd \parenthesize hhp4 bd4 |
  \repeat percent 2 { bd8\ff 4 4. | }
  \repeat percent 8 { bd4. bd | }
}

fullScore = <<
  \new Staff \with {
    midiInstrument = "overdriven guitar"
    midiPanPosition = #-1.0
  } {
    \clef "treble_8"
    \gtrOne
  }

  \new Staff \with {
    midiInstrument = "distorted guitar"
    midiPanPosition = #1.0
  } {
    \clef "treble_8"
    \gtrTwo
  }

  \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
    }
  }
}

\score {
  \removeWithTag #'folded
  \fullScore

  \midi { }
}
