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: David Kastrup
Subject: Re: addl. normal staff (ossia) in drummode or DrumStaff context
Date: Mon, 12 Mar 2012 17:03:14 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

Eluze <address@hidden> writes:

> 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.

They don't care.  It is the parser who is still in \drummode.

> Is there a way to switch these contexts off locally?  Or is there
> anything else I could do to get this done ?

\notemode for the staff should do the trick.

-- 
David Kastrup




reply via email to

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