Hi there,
I have the following drum excersises written out for my daughter.
It prints
beautifully (except that I am not able to set the vertical spacing
to my
linking, but that's not that big of a problem). I just wonder why
the
midi-file (which is generated) only is 149 bytes long and contains
no sound.
Dows anybody know what's going wrong? There are no errors or
warnings in the
log.
\version "2.12.2"
\header {
title = "Drum practice Robin"
subtitle = "week 41 - 2009"
}
patternA = \drummode {
<< { cymr8
cymr8
cymr8 cymr8 cymr8 cymr8 cymr8 cymr8}
\\
{
bd8 bd8 bd8
bd8 bd8 bd8 bd8 bd8 }
>> }
patternB = \drummode {
<< { cymr8
cymr8
cymr8 cymr8 cymr8 cymr8 cymr8 cymr8}
\\
{
bd4 bd bd
bd }
>> }
patternC = \drummode {
<< { cymr8
cymr8 <sn
cymr>8 cymr8 cymr8 cymr8 <sn cymr>8 cymr8}
\\
{
bd4 hhp bd
hhp }
>> }
patternD = \drummode {
<< { cymr8
cymr8
cymr8 cymr8 cymr8 cymr8 cymr8 cymr8}
\\
{
bd8 bd8 bd8
bd8 bd4 bd4 }
>> }
patternE = \drummode {
<< { cymr8
cymr8
cymr8 cymr8 cymr8 cymr8 cymr8 cymr8}
\\
{
bd8 bd8 bd4
bd8 bd8 bd4 }
>> }
patternF = \drummode {
<< {cymr8
cymr8
cymr8 cymr8 cymr8 cymr8 cymr8 cymr8}
\\
{bd4
bd8 bd8
bd4 bd8 bd8}
>> }
%%%%%%%%% It All Goes Together Here %%%%%%%%%%%%%%%%%%%%%%
\score
{
\new DrumStaff <<
\new DrumVoice = "1" { s1*2 }
\new DrumVoice = "2" { s1*2 }
{
\patternB \patternB \patternB
\patternB
\break
\patternA \patternA \patternA
\patternA
\break
\patternC \patternC \patternC
\patternC
\break
\patternD \patternD \patternD
\patternD
\break
\patternE \patternE \patternE
\patternE
\break
\patternF \patternF \patternF
\patternF
\break
\patternF \patternE \patternD
\patternC
\break
\patternD \patternF \patternC
\patternE
\break
}
>>
\layout {
indent = #0 %this makes the first
bar
beginning at the same position as everything else
%fit as much on a page as possible
%between-system-padding = 9.5\cm
%between-system-space = 4\cm
system-count = #8
ragged-bottom=##f
ragged-last-bottom=##f
proportionalNotationDuration =
#(ly:make-moment 1 8)
\context {
\DrumStaff
\override
Beam #'thickness = #0.4
\override
VerticalAxisGroup #'minimum-Y-extent = #'(-5 . 5)
\override
BarLine #'hair-thickness = #0.2
\override
Stem #'thickness = #0.2
\remove
"Time_signature_engraver" %this removes the time signature from
the first
bar
}
}
\midi { }
} %end score