lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determine event at the same time in other voice


From: Jan-Peter Voigt
Subject: Re: Determine event at the same time in other voice
Date: Fri, 20 Jun 2014 14:55:21 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

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
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user

Attachment: mergeRests.ly
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]