lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Midi-output not generated


From: Paul Rijke
Subject: RE: Midi-output not generated
Date: Mon, 12 Oct 2009 13:42:59 +0200

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:address@hidden 
Verzonden: vrijdag 9 oktober 2009 9:59
Aan: address@hidden; address@hidden
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" <address@hidden>
To: <address@hidden>
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
> address@hidden
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]