Just out of curiosity, (since I don't play, nor read, drum music), I compiled this with lilypond version 2.13.4 on ubuntu. It built the output, but with many complaints like:
GNU LilyPond 2.13.4
Processing `test.ly'
Parsing...
Interpreting music... [8]
Preprocessing graphical objects...
programming error: note head has no event cause
continuing, cross fingers
programming error: note head has no event cause
continuing, cross fingers
programming error: these accidentals do not have a pitch
continuing, cross fingers

How could it be modified to give the same beautiful output without all the complaints?

\version "2.11.58"
\header {
 title = "Drum Excersises Robin"
 subtitle = "week 40 - 2009"
}

% ------ Drums ------
up = \drummode {
 \voiceOne
 cymr8 cymr8 cymr8 cymr8 cymr8 cymr8 cymr8 cymr8
 cymr8 cymr8 cymr8 cymr8 cymr8 cymr8 cymr8 cymr8
 cymr8 cymr8 cymr8 cymr8 cymr8 cymr8 cymr8 cymr8
 cymr8 cymr8 cymr8 cymr8 cymr8 cymr8 cymr8 cymr8

 cymr8 cymr8 cymr8 cymr8 cymr8 cymr8 cymr8 cymr8
 cymr8 cymr8 cymr8 cymr8 cymr8 cymr8 cymr8 cymr8
 cymr8 cymr8 cymr8 cymr8 cymr8 cymr8 cymr8 cymr8
 cymr8 cymr8 cymr8 cymr8 cymr8 cymr8 cymr8 cymr8

 cymr8 cymr8 <<cymr8 sn8>> cymr8 cymr8 cymr8 <<cymr8 sn8>> cymr8
 cymr8 cymr8 <<cymr8 sn8>> cymr8 cymr8 cymr8 <<cymr8 sn8>> cymr8
 cymr8 cymr8 <<cymr8 sn8>> cymr8 cymr8 cymr8 <<cymr8 sn8>> cymr8
 cymr8 cymr8 <<cymr8 sn8>> cymr8 cymr8 cymr8 <<cymr8 sn8>> cymr8
}
down = \drummode {
 \voiceTwo

 bd4 bd4 bd4 bd4
 pedalhihat4 pedalhihat4 pedalhihat4 pedalhihat4
 bd4 bd4 bd4 bd4
 pedalhihat4 pedalhihat4 pedalhihat4 pedalhihat4

 bd4 bd4 pedalhihat4 pedalhihat4
 bd4 bd4 pedalhihat4 pedalhihat4
 bd4 bd4 pedalhihat4 pedalhihat4
 bd4 bd4 pedalhihat4 pedalhihat4

 bd4 pedalhihat4 bd4 pedalhihat4
 bd4 pedalhihat4 bd4 pedalhihat4
 bd4 pedalhihat4 bd4 pedalhihat4
 bd4 pedalhihat4 bd4 pedalhihat4
}

drumContents = {
 <<
   \new DrumVoice \up
   \new DrumVoice \down
 >>
}

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

 \layout {
  indent = #0
 }

 \midi { }
}




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

Reply via email to