\repeat percent {} breaking \drummode context
Trying to save some space and simplifying the scores, but either I am doing something wrong / odd, or there is a bug. Everything following the \repeat percent {} in the example below is set to separate staffs with clefs, i.e. nit in drummode anymore. Yep, I know my version is quite outdated but as I have not found any mentioning of such a behaviour in the web I might doing it wrong and it has nothing to do with the version. %% \version 2.12.3 #(define mydrums '( (bassdrum default #f -3) (snare default #f 1) (hihat cross #f +4) (closedhihat cross #f +4) (openhihat cross open +4) (crashcymbal xcircle #f +6) (ridecymbal harmonic-black #f +5) (ridecymbala harmonic #f +5) (hightom default #f +3) (highmidtom default #f +2) (lowtom default #f -1))) drh = \drummode { cymr8.^crash hhc16^h.h. hh hhc8 hho hhc8 hh16 hh hhc4 r4 r2 } drl = \drummode { bd4 sn8 bd bd4 bd ss bd8 tommh tommh bd toml toml bd tomfh16 tomfh } \new DrumStaff = main \set DrumStaff.drumStyleTable = #(alist-hash-table mydrums) \new DrumVoice = 1 { s1*2 } \new DrumVoice = 2 { s1*2 } \drummode { \partial 4 sn4 | \repeat volta 2 { { \repeat unfold 8 hh8 } \\ { bd4 sn4 bd4 sn4 } { hh8 hh hh hh r hho r hho } \\ { bd4 sn4 bd4 sn4 } } % That seems to break drummode ... \repeat percent 6 { { r8 cymr8 r cymr r cymr r cymr } \\ { bd4 sn4 bd4 sn4 } } { cymr8 r8 \repeat unfold 6 hh8 } \\ { bd4 sn4 bd4 sn4 } } %% Thanks for any help. Uwe -- ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \repeat percent {} breaking \drummode context
Quoting James pkx1...@gmail.com: Hello, This works properly in 2.14.x and 2.15.x (see attached - this is the output from both) Ah, knew it :-) I'd suggest trying those versions. Thanks a lot Uwe ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: addl. normal staff (ossia) in drummode or DrumStaff context
Thanks for saving me. I knew it would be possible :-) Uwe -- Quoting Trevor Daniels t.dani...@treda.co.uk: Uwe, you wrote Monday, March 12, 2012 2:32 AM 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. 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
Re: addl. normal staff (ossia) in drummode or DrumStaff context
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 AM 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. 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
Fwd: Re: addl. normal staff (ossia) in drummode or DrumStaff context
Dear all, I had not subscribed to the lsit until just a few minutes ago, hence my reply below was received by trevor but not by the list. Should work now .. Uwe - Forwarded message from fa...@horst.in-chemnitz.de - Date: Mon, 12 Mar 2012 18:05:11 +0100 From: Uwe Falke fa...@horst.in-chemnitz.de Subject: Re: addl. normal staff (ossia) in drummode or DrumStaff context To: Trevor Daniels t.dani...@treda.co.uk Cc: lilypond-user@gnu.org 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 AM 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. 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 - End forwarded message - ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: addl. normal staff (ossia) in drummode or DrumStaff context
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 elu...@gmail.com: 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 smime.p7s Description: S/MIME Cryptographic Signature ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: addl. normal staff (ossia) in drummode or DrumStaff context
Quoting Trevor Daniels t.dani...@treda.co.uk: Uwe Falke wrote Monday, March 12, 2012 5:05 PM Ah, Trevor, the simple example worked well with your advice (thanks again), but I am lost in real life ...: [snip] You had \notemode { \new staff { r4 a4 fis2 } } Staff needs a capital S omg what an ignorant brick i am ... thanks for your patience, i guess that I'll keep for a while ... and sorry for the extra pain ps please don't send digitally signed messages, especially with expired IDs. They make replying a pain. Uwe ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user