lilypond-user
[Top][All Lists]
Advanced

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

Re: Ensemble of two instruments in the code


From: Knute Snortum
Subject: Re: Ensemble of two instruments in the code
Date: Wed, 8 Sep 2021 06:41:11 -0700

On Wed, Sep 8, 2021 at 3:49 AM Lukas-Fabian Moser <lfm@gmx.de> wrote:
>
> Hi Yuri,
>
> (Please keep the list in CC, so everybody can follow the discussions and
> chime in.)
>
> Am 08.09.21 um 12:39 schrieb Виноградов Юрий:
> > Hello. You've been very helpful. Thank you very much. Please tell me
> > how to register an ensemble of two instruments in the code, where one
> > of them starts playing 5 bars before the second instrument enters.
> > I am grateful to you in advance for your attention.
>
> I don't quite understand what the result is supposed to look like.
>
> Can you give a working example of your file or (that might be helpful in
> your case) a picture outlining your desired score?
>
> Lukas

Do you mean something like this?

%%%
\version "2.22.1"

instrOne = \relative c' { \repeat unfold 8 { c4 c c c } }

instrTwo = \relative c' { R1 * 5 \repeat unfold 3 { c4 c c c } }

\score {
  <<
    \new Staff \with { instrumentName = "Instr 1" } \instrOne
    \new Staff \with { instrumentName = "Instr 2" } \instrTwo
  >>
}
%%%

--
Knute Snortum



reply via email to

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