Hi Trevor, I think you're right. I tried the example in the manual and I hear the bd4 dn4 bd4 sn4 in the midi, but only that! Do you think that this will be fixed, cause I really like it this way so I can create and combine all kind of patterns to create a score very easily.
\new DrumStaff << \new DrumVoice = "1" { s1 *2 } \new DrumVoice = "2" { s1 *2 } \drummode { bd4 sn4 bd4 sn4 << { \repeat unfold 16 hh16 } \\ { bd4 sn4 bd4 sn4 } >> } >> \midi { } -----Oorspronkelijk bericht----- Van: Trevor Daniels [mailto:t.dani...@treda.co.uk] Verzonden: vrijdag 9 oktober 2009 9:59 Aan: p...@rijke.org; lilypond-user@gnu.org Onderwerp: Re: Midi-output not generated Paul I haven't made extensive tests, but it seems the << {..} \\ {...} >> construct is incompatible with midi (drum?) output. If you rearrange your score to use explicitly defined DrumVoice contexts it should work. Something like this: musicOne = \drummode { \repeat unfold 8 { cymr8 } } musicTwo = \drummode { bd8 bd8 bd4 bd8 bd8 bd4 } \score { \new DrumStaff << \new DrumVoice { \voiceOne \musicOne } \new DrumVoice { \voiceTwo \musicTwo } >> \layout { } \midi { } } I'll add this limitation to the Notation Reference after I've checked further (or if someone else confirms it before I find the time to check it). Trevor ----- Original Message ----- From: "Paul Rijke" <p...@rijke.org> To: <lilypond-user@gnu.org> Sent: Thursday, October 08, 2009 11:17 AM Subject: Midi-output not generated > 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 > > > > > > ---------------------------------------------------------------------------- ---- > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-user > _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user