Re: Prevent MMR breaking
Pierre-Luc Gauthierwrites: > Hi there, > > Is there a way to prevent multi-measure-rest (MMR) breaking? > > I often use "s"s (e.g. s1*4 ) to trigger events, cue notes, etc, and > some of them do not display anything at all (and it's ok). My problem > arise when I use MMR combined with multiple s expressions. Somehow, > s1*2 =/= {s1 s1} and I don't understand why s1*2 is a skip of duration 1*2 meaning that it _looks_ like s1 but takes double the actual time. {s1 s1} takes the same total time but consists of two separate skips. > nor have I found a workaround. > > In my MWE bellow, I would expect the MMR to be whole (6 bars) but > instead, it is spliced in 3 MMRs of 2 bars. > > \version "2.19.55" > > \new Staff \new Voice << > \compressFullBarRests > { R1*6 } > { > s1*2 | % MMR breaker > s1*2 | % MMR breaker > } >>> > > Any thoughts on how to solve this? Don't use s1*2 but s1*4 here. Multi measure rests are only compressed when there is no musical event intervening in parallel. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Prevent MMR breaking
Hi Pierre-Luc, > Is there a way to prevent multi-measure-rest (MMR) breaking? The \mergeSkips function was designed to do that: http://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=mergeskips=Search=lilypond-user But on my quick test, it doesn’t seem to work on your file. Don’t have time to figure it out now, but maybe this will point you in the right direction. Hope this helps! Kieren. Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ email: i...@kierenmacmillan.info ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Prevent MMR breaking
Hi there, Is there a way to prevent multi-measure-rest (MMR) breaking? I often use "s"s (e.g. s1*4 ) to trigger events, cue notes, etc, and some of them do not display anything at all (and it's ok). My problem arise when I use MMR combined with multiple s expressions. Somehow, s1*2 =/= {s1 s1} and I don't understand why nor have I found a workaround. In my MWE bellow, I would expect the MMR to be whole (6 bars) but instead, it is spliced in 3 MMRs of 2 bars. \version "2.19.55" \new Staff \new Voice << \compressFullBarRests { R1*6 } { s1*2 | % MMR breaker s1*2 | % MMR breaker } >> Any thoughts on how to solve this? -- Pierre-Luc Gauthier \version "2.19.55" \new Staff \new Voice << \compressFullBarRests { R1*6 } { s1*2 | % MMR breaker s1*2 | % MMR breaker } >>___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user