Why not include also a \layout{} block to see what LilyPond does
when it expands the \repeat unfold commands?

I hope you know that <<...>> means "play things in parallel".
If you want things played in a sequence, you enclose the sequence
in curly braces, {...}, instead. However, for some intricate reasons
your example does actually give a sequence anyway.

Also, do you have any specific reason to explicitly specify a DrumVoice
only for the first section? Why not include all the piece in the same
DrumVoice context, or simply remove the "\new DrumVoice{", since
LilyPond will create one automatically anyway..

As has already been pointed out earlier, you should use \repeat unfold 6
if you want something repeated 6 times.

  /Mats

Jannik Jeppesen wrote:

Hi
Can anyone tell me what I have done wrong in the following file? It shall create a midi file
first play drumvoice 1 6 times
then nr 2 6 times
then 3, 4 and 5.
Now it is playing only the last one [with some other stuff as well)
I really dont get it...
I Hope some of you have the answer... Jannik =============================
\version "2.6.3"
\score {
\new DrumStaff <<
  \new DrumVoice { \drummode {
    \repeat unfold 5 {
      <bd hh>8 hh <sn hh> hh <bd hh> hh <sn hh> hh
      <bd hh> hh <sn hh> hh <bd hh> <bd hh> <sn hh> hh
    }
  }
\drummode {
    \repeat unfold 5 {
      <bd hh>8 <bd hh> <sn hh> <bd hh> hh hh <sn hh> <bd hh>
      hh <bd hh> <sn hh> hh <bd hh> <bd hh> <sn hh> hh
    }
  }
\drummode {
    <bd hh>8 <bd hh> <bd sn hh> hh hh hh <sn hh> <bd hh>
    hh <bd hh> <sn hh> <bd hh> <bd hh> hh <sn hh> hh
  }
\drummode {
    <bd hh>8 hh <bd sn hh> hh <bd hh> hh <bd sn hh> hh
    <bd hh>8 hh <bd sn hh> hh <bd hh> hh <bd sn hh> hh
  }
\drummode {
    <bd hh>8 <bd hh> <bd hh> hh <sn hh> hh hh <bd hh>
    <bd hh>8 <bd hh> <bd hh> hh <sn hh> hh hh <bd hh>
    <bd hh>8 <bd hh> <bd hh> hh <sn hh> <bd hh> <bd hh> <sn hh>
    <bd hh>8 <bd hh> <sn hh> <bd hh> sn sn tomml toml
  }}
>>
\midi {\tempo 4=170}
}
================================

------------------------------------------------------------------------

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: [EMAIL PROTECTED]
        WWW: http://www.s3.kth.se/~mabe
=============================================



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to