lilypond-user
[Top][All Lists]
Advanced

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

Re: trying arranger and extract music


From: Gilles Thibault
Subject: Re: trying arranger and extract music
Date: Tue, 15 Jun 2021 10:31:04 +0200
User-agent: Webmail Free/1.3.3

Unfortunately, I'm not able to manage some of the functions in the right
way.
Oh, I'm so sorry, I've been so busy this week, I haven't taken the time to read any messages of the Lilypond list.

This example doesn't work and I can't find out the mistake:

The guilty line seems to be this one

  (rm 'Lower 4  (em UpperII s1) )

There are 2 functions: \eM (Lilypond function) and (em..) (scheme function) but both need 2 arguments.
In a Lilypond context
  \eM \music s1 s1*2    % music 2 to 4
In a scheme context
  (em music 2 4)
In my works, I don't use only the scheme version even in a Lilypond context.
Compare :
LowerI = {
  \eM \UpperI \M #1 {\M #2 s4 }
  r4 r8
}
and
LowerI = {
  #(em UpperI 1 '(2 4))
  r4 r8
}



--
Gilles



reply via email to

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