I have this code:

*\header {
  title = "Rocky-rock-rock"
  composer = "Matthew Hall"
  meter = "1?? bpm"
  piece = "Rock"
  tagline = \markup {
  }
}

%#(set-global-staff-size 16)
\include "english.ly"

%%%%%%%%%%%% Some macros %%%%%%%%%%%%%%%%%%%

sl = {
  \override NoteHead #'style = #'slash
  \override Stem #'transparent = ##t
}
nsl = {
  \revert NoteHead #'style
  \revert Stem #'transparent
}
crOn = \override NoteHead #'style = #'cross
crOff = \revert NoteHead #'style

%% insert chord name style stuff here.

jazzChords = { }

%%%%%%%%%%%% Keys'n'thangs %%%%%%%%%%%%%%%%%

global = { \time 4/4 }

Key = { \key c \major }


% ------ Drums ------
up = \drummode {
  \voiceOne
  crashcymbal8\ff hh <hh sn> hh
  hh8 hh <hh sn> hh
  hh8 hh <hh sn> hh
  hh8 hh <hh sn> hh
}
down = \drummode {
  \voiceTwo
  bd8. bd16 s s s s
  bd4 s8 s8
  bd8. bd16 s s s s
  bd4 s8 s8
}

drumContents = {
  \global
  <<
    \set DrumStaff.instrumentName = #"Drums"
    \new DrumVoice \up
    \new DrumVoice \down
  >>
}

%%%%%%%%% It All Goes Together Here %%%%%%%%%%%%%%%%%%%%%%

\score {
  <<
    \new StaffGroup = "rhythm" <<
      \new DrumStaff \drumContents
    >>
  >>

  \layout {
    \context { \RemoveEmptyStaffContext }
    \context {
      \Score
      \override BarNumber #'padding = #3
      \override RehearsalMark #'padding = #2
      skipBars = ##t
    }
  }

  \midi { }
}

*and I want to repeat the second bar (the last 2 lines of each section) how
would I do this?
*
*
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to