Dear community,
Unfortunately, I'm not able to manage some of the functions in the right way.
In the below quoted example I would like to play the Voice "Lower" colla parte with Upper in measures 4 and 5.
This example doesn't work and I can't find out the mistake:
\version "2.22.0"
\include"
arranger.ly"
globalI = {
\time 3/4 s2.
\time 5/8 s8*5
}
globalII = {
\time 4/4 s1
\time 6/8 s2.
\time 3/4 s2.
}
global = { \globalI \globalII }
all = #'(Upper Lower)
#(init all)
UpperI = \relative g' {
g4 f g
e4 d8 c4
}
UpperII = \relative c' {
d4 e f g
e4 d8 c4 bes8
c4 r r
}
LowerI = {
\eM \UpperI \M #1 {\M #2 s4 } r4 r8
}
LowerII = {
\eM \UpperII s1 s2.
}
#(begin
(rm 'Upper 1 UpperI )
(rm 'Upper 3 UpperII )
(rm 'Lower 1 LowerI )
(rm 'Lower 4 (em UpperII s1) )
)
\score {
<<
\new Devnull \global
\new Staff \Upper
\new Staff \Lower
>>
}