lilypond-user
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Lilypond Drum repeats
From
:
Matthew Hall
Subject
:
Lilypond Drum repeats
Date
:
Sat, 4 Jul 2009 13:58:16 +0100
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?
reply via email to
[Prev in Thread]
Current Thread
[Next in Thread]
Lilypond Drum repeats
,
Matthew Hall
<=
Prev by Date:
Re: Improvisor: public repository (was:Improvisor lilypond support!?)
Next by Date:
Re: website draft 4, help wanted
Previous by thread:
Re: Improvisor: public repository (was:Improvisor lilypond support!?)
Next by thread:
Overriding NoteHead stencil in a chord produces unwanted X offset
Index(es):
Date
Thread