Hi there,

> When compiling, I get no error...

Hmmm… the code you posted throws an error for me.

In any case, I really couldn’t wrap my head around your code structure, so I 
tried to reorganize it in a way that made sense to me:

%%%  SNIPPET BEGINS
\version "2.25.11"

global = {
  \bar ".|:-|"
  \mark \markup \bold "3×"
  \repeat volta 3 {
    \alternative {
      \volta 1 { s8 }
      \volta 2,3 { s8 }
    }
    s1*2
  }
}

hands = \drummode {
  \numericTimeSignature
  \voiceOne
  \repeat volta 3 {
    \alternative {
      \volta 1 { cymc8 }
      \volta 2,3 { hho8 }
    }
    hho8[ hho] <hho sn>[ hho] hho[ hho] <hho sn>[ hho]
  }
  hho8[ hho] <hho sn>[ hho]
  hho8[ hho] <hho sn>16 tomh32 tomh sn16 sn
}

feet = \drummode {
  \voiceTwo
  \repeat volta 3 {
    \alternative {
      \volta 1 { bd8 }
      \volta 2,3 { bd8 }
    }
    bd8[ bd] s16 bd8 s16 bd8[ bd] s16 bd8 s16
  }
  bd8[ bd] s16 bd8 s16 bd8[ bd] s4
}

\score {
  <<
    \new DrumStaff {
      \set DrumStaff.instrumentName = #"TEST-ALT-BEG"
      \set DrumStaff.drumStyleTable = #(alist->hash-table custom-notes)
      <<
        \new DrumVoice = "hands" << \global \hands >>
        \new DrumVoice = "feet" << \global \feet >>
      >>
    }
  >>
}
%%%  SNIPPET ENDS

This [which includes the "wrong-number-of-notes-per-measure fix"] at least has 
an output, but the drumStyleTable line still throws an error…

In any case, I don’t know what you’re looking for exactly, but I hope this 
helps you figure it out!

Best,
Kieren.

______________________________________________

My work day may look different than your work day. Please do not feel obligated 
to read or respond to this email outside of your normal working hours.


Reply via email to