forcing MultiMeasureRests to combine

2013-10-16 Thread Kieren MacMillan
Hello all, Consider the following minimal snippet: \version 2.17.13 global = { \repeat unfold 8 { s1 } } notes = \relative c' { R1*4 c1 R1*3 } \score { \new Staff \global \notes } This may seem like a contrived example — and in its minimal state, I suppose it is — but I run into

Re: forcing MultiMeasureRests to combine

2013-10-16 Thread David Kastrup
Kieren MacMillan kieren_macmil...@sympatico.ca writes: Hello all, Consider the following minimal snippet: \version 2.17.13 global = { \repeat unfold 8 { s1 } } notes = \relative c' { R1*4 c1 R1*3 } \score { \new Staff \global \notes } This may seem like a

Re: forcing MultiMeasureRests to combine

2013-10-16 Thread Janek Warchoł
2013/10/16 Kieren MacMillan kieren_macmil...@sympatico.ca: Question: Is there a way to force the MMRs (in \notes) to combine (in the Staff), despite the fact that the skips (in \global) are broken up? Currently, I'm using a series of tags to work around it, but it is extremely hacky,

Re: forcing MultiMeasureRests to combine

2013-10-16 Thread Kieren MacMillan
Hi all, FWIW, i'd like to be able to do this, too. Maybe there's a way for a function (or engraver?) to extract the duration of skip-only music (i.e., uninterrupted by things like \mark or \tempo or \bar) and [re-]combine them? Thanks, Kieren. ___

Re: forcing MultiMeasureRests to combine

2013-10-16 Thread David Kastrup
Kieren MacMillan kieren_macmil...@sympatico.ca writes: Hi all, FWIW, i'd like to be able to do this, too. Maybe there's a way for a function (or engraver?) to extract the duration of skip-only music (i.e., uninterrupted by things like \mark or \tempo or \bar) and [re-]combine them? It

Re: forcing MultiMeasureRests to combine

2013-10-16 Thread Kieren MacMillan
Hi David, It would be the job of the engraver for multimeasure rests. Good to know — thanks! However, I have distinct problems imagining what the output of the following should be if one were to combine multimeasure rests: I have no problem seeing the desired (at least by me) output of your

Re: forcing MultiMeasureRests to combine

2013-10-16 Thread David Kastrup
Kieren MacMillan kieren_macmil...@sympatico.ca writes: Hi David, It would be the job of the engraver for multimeasure rests. Good to know — thanks! However, I have distinct problems imagining what the output of the following should be if one were to combine multimeasure rests: I have no

Re: forcing MultiMeasureRests to combine

2013-10-16 Thread Kieren MacMillan
Hi David, You did not address the scripts attached to multimeasure rests. Not sure what you mean here — other than the A and the B (both of which I addressed in my modified snippet), what scripts were there in your original snippet? When combining multiple multimeasure rests, you may end up

Re: forcing MultiMeasureRests to combine

2013-10-16 Thread David Kastrup
Kieren MacMillan kieren_macmil...@sympatico.ca writes: Perhaps equivalently (for 99% of my purposes) would be this rule: Simultaneous skip events should be ignored when compressing MMRs. Is that easier to understand and/or implement? Why do you use s rather than \skip if you don't want

Re: forcing MultiMeasureRests to combine

2013-10-16 Thread David Kastrup
Kieren MacMillan kieren_macmil...@sympatico.ca writes: Hi David, You did not address the scripts attached to multimeasure rests. Not sure what you mean here — other than the A and the B (both of which I addressed in my modified snippet), what scripts were there in your original snippet?

Re: forcing MultiMeasureRests to combine

2013-10-16 Thread Kieren MacMillan
Hi David, Why do you use s rather than \skip if you don't want to have LilyPond notice events? It's comments (questions) like that which make me feel like there are deep, deep secrets about Lilypond that even I (after more than a decade of heavy Lily-use) have no inkling. =) What's the

Re: forcing MultiMeasureRests to combine

2013-10-16 Thread Kieren MacMillan
Hi David, You attached them to rests different from the original rests. I attached them to moments identical to the original moments — that's all that matters (from a user's perspective). Then we are obviously talking about different things. I find that often happens… =) Use \skip rather

Re: forcing MultiMeasureRests to combine

2013-10-16 Thread David Kastrup
Kieren MacMillan kieren_macmil...@sympatico.ca writes: Why do you use s rather than \skip if you don't want to have LilyPond notice events? It's comments (questions) like that which make me feel like there are deep, deep secrets about Lilypond that even I (after more than a decade of heavy