I have the merge-rests-engraver from the above referenced message ready to submit to the snippets GitHub. There is also a merge-mmrests-engraver that merges whole and multi-measure rests.
Is it good practice to post an example to the LSR too? Knute Snortum (via Gmail) On Fri, Jun 20, 2014 at 5:55 AM, Jan-Peter Voigt <jp.vo...@gmx.de> wrote: > Hi Urs, > > as David mentioned, there are solutions on the list. And in LSR you find: > http://lsr.di.unimi.it/LSR/Item?id=336 > > And some time ago somebody posted the solution for multi-measure-rests ... > I am ashamed, that I forgot to note the name - I use it quite often. > You can either use > \layout { \mergeRests } > or > { \mergeRestsOn \music \mergeRestsOff } > > HTH > Best, Jan-Peter > > Am 20.06.14 12:08, schrieb Urs Liska: > > Hi all, >> >> how could I determine if at any given point in time there is another >> event in another voice or not. Concretely: If I have a certain rest, can I >> know if another rest of the same length is in another voice? >> >> I would like to explore the idea of having a command like >> >> \mergeSimultaneousRests >> >> which would take care of setting \voiceOne in one voice and \once\omit in >> the other voice(s) to make that typical kind of notation more >> straightforward to use. I find it slightly embarassing that we have to do >> that manually for each instance. >> >> Best >> Urs >> >> _______________________________________________ >> lilypond-user mailing list >> lilypond-user@gnu.org >> https://lists.gnu.org/mailman/listinfo/lilypond-user >> > > > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > >
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user