lilypond-user
[Top][All Lists]
Advanced

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

Re: addl. normal staff (ossia) in drummode or DrumStaff context


From: Eluze
Subject: Re: addl. normal staff (ossia) in drummode or DrumStaff context
Date: Mon, 12 Mar 2012 16:58:11 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2



Am 12.03.2012 03:32, schrieb Uwe:
Dear lilypond people, 

I have just started to use lilypond to set some drum scores. As I need to add a
few patches of backing vocals, I'd attempted to add extra (normal) staffs at
those places, however, lilypond seems to refuse doing that. 
Example: 
\score {
  \new DrumStaff <<
      \drummode {
           bd4 sn bd bd4  <<
              { bd  bd8 sn sn4 bd }
              \new Staff { c8 d8 e8 f8 g4 c4 }  >>
      }   >>
}

This produces an error like
t.ly:23:27: error: syntax error, unexpected STRING
              \new Staff { 
                           c8 d8 e8 f8 g4 c4 } 
t.ly:18:2: error: errors found, ignoring music _expression_

I suppose that either the \drummode or the \DrumStaff context do not allow this. 
Is there a way to switch these contexts off locally? 
Or is there anything else I could do to get this done ?

All good ideas or helping advices are welcome.
hi Uwe

no idea if an ossia with normal notes is possible within a drum part.

maybe this is a workaround (which probably can or must be refined):

\score {
  <<
      \new DrumStaff \drummode {
      bd4 sn bd bd4
      bd  bd8 sn sn4 bd
    }
    \new Staff \with {
          \remove Clef_engraver
          \remove Time_signature_engraver
        }
        \relative {
          \stopStaff s4*4
          \startStaff
          c8 d8 e8 f8 g4 c4
        }
  >>
}


hth
Eluze


reply via email to

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