lilypond-user
[Top][All Lists]
Advanced

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

trying arranger and extract music


From: Stefan Thomas
Subject: trying arranger and extract music
Date: Thu, 10 Jun 2021 12:32:07 +0200

Dear community,
I'm currently trying out arranger.ly (have a look at http://gillesth.free.fr/Lilypond/ ).
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

>>

}

reply via email to

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