> 
> In the file I´m sending now, there is a intro AND a chorus in drummode...
> How does it work now. Later on I´ll ad verse, instrumental etc..  How does 
> this work, when I need  a pdf and a midi?
> I have writen my idea.... but it definitly doesn´t work:-( It only 
> generates the chorus in pdf???
> 

What you wrote doesn't work because you defined 2 staves (whereas
you actually want to add more contents to a single staff) and the
last one "won" (i.e. replaced the first, intro, one).

You have to define the overall structure (the drum staff) once,
and fill it in with contents (intro, chorus, ...).

You can use variables to build up the whole score (what comes in
the "\score" block):

%-----
\version "2.6.3"

intro = \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
  }
}

chorus = \drummode {
  \stemUp
  \repeat volta 4 {
    <bd hh>16 hh hh hh <sn hh> hh hh hh <bd hh> hh hh hh <sn hh> hh hh hh
  }
}

drumNotes = \new DrumStaff {
 \new DrumVoice {
   \override Beam #'positions = #'(5 . 5)
   \intro
   \chorus
 }
}

\score {
  \drumNotes
  \layout {}
}

\score {
  \unfoldRepeats \drumNotes
  \midi { \tempo 4 = 120 }
}
%------


Gilles

P.S.  You should read the manual for every construct which you want
      to use.  The way to get pdf and midi is always the same, but
      when you'll want lyrics, several staves, and several voices
      per staff, it'll become more complex.  There are several 
      template files in the docs, which you can start with.


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

Reply via email to