Ah, Trevor, the simple example worked well with your advice (thanks again), but I am lost in real life ...: \score { \new DrumStaff <<%% done some redefinitions, hope that doesn't affect anything, omitted here ...
% \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) \new DrumVoice = "1" { s1*2 } \new DrumVoice = "2" { s1*2 } \drummode { << { \repeat unfold 8 cymr8 } \\ { bd4 sn4 bd4 sn4 } >> %Reggae << << { r1 } \\ { bd4 bd bd bd } >> \notemode { \new staff { r4 a4 fis2 } } >> << { r1 } \\ { bd4 bd bd bd8 sn8 } >> }
} gives error messages like t2.ly:380:21: warning: ignoring too many clashing note columns << { r1 } \\ { bd4 bd bd bd } >> t2.ly:380:25: warning: ignoring too many clashing note columns << { r1 } \\ { bd4 bd bd bd } >> t2.ly:380:28: warning: ignoring too many clashing note columns << { r1 } \\ { bd4 bd bd bd } >> No new score appears ... I seem to miss something important here ... The code with the "\notemode" line uncommented compiles well ... Uwe -- Quoting "Trevor Daniels" <t.dani...@treda.co.uk>:
Uwe, you wrote Monday, March 12, 2012 2:32 AMI have just started to use lilypond to set some drum scores. As I need to add afew 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 expressionI suppose that either the \drummode or the \DrumStaff context do not allow this.Yes, drummode doesn't allow it. You need to switch temporarily back to notemode, like this: \score { \new DrumStaff << \drummode { bd4 sn bd bd4 << { bd bd8 sn sn4 bd } \notemode { \new Staff { c8 d8 e8 f8 g4 c4 } } >> } >> } Trevor
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user