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: Uwe Falke
Subject: Re: addl. normal staff (ossia) in drummode or DrumStaff context
Date: Mon, 12 Mar 2012 18:51:16 +0100
User-agent: Internet Messaging Program (IMP) H3 (4.2)

Hm, this works in my simple example. Thank you. However, it does not so for what I really want to do - sorry for having oversimplified. I just sent another example which is a snippet of the real score, employing two \DrumVoice contexts, and that might be the turning point: I read :
 "This context is a ‘bottom’ context; it cannot contain other contexts. "

Does this break my neck?

Uwe
--




Quoting Eluze <address@hidden>:



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



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


reply via email to

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