[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Repeat midi using "repeat volta"
From: |
Gilles |
Subject: |
Re: Repeat midi using "repeat volta" |
Date: |
Fri, 18 Nov 2005 01:37:22 +0100 |
User-agent: |
Mutt/1.5.11 |
Reworked, it works ;-)
%-----
\version "2.6.3"
intro = \new DrumStaff {
\new DrumVoice {
\override Beam #'positions = #'(5 . 5)
\drummode {
\stemUp
\repeat volta 4 {
<bd hh>8 hh hh hh <sn hh> hh <bd hh> <bd hh>
hh hh hh hh <sn hh> hh hh hh
}
}
}
}
\score {
\intro
\layout {}
}
\score {
\unfoldRepeats \intro
\midi { \tempo 4 = 120 }
}
%-----
- Assigning/defining a variable (here: "intro") must be done
at the top level (i.e. not inside "\score").
- Whatever is needed to create a "voice" (here: "\new DrumVoice")
will be necessary both for the layout and the midi.
Gilles