Dear list, dear Gilles,
Working with arrranger.ly I want to insert notes at a specific place.
The manual says:
"- A position is denoted by a bar number. What if the position should not begin
at the start of
a measure? In such a case, the position is a list of integers:
'(n i j k …)
where n is the bar number, and i j k … are powers of two (1, 2, 4, 8, 16, etc…)
denoting the
distance from the beginning of the n-th bar.3
“
But I cannot get that to work correctly.
The code below shows the current c1 in bar 13
(So rm seems to use the count of 4 per bar. The 3/4 setting does not influence
that.
What am I doing wrong???
Regards, Eef
———
\version "2.25.35"
\include "arranger.ly"
global = { s2.*1000}c '''
#(init '())
#(begin ;; Builds \global
(signatures 1 "3/4") ;; First, time signatures
(cut-end 'global 20) ;; Cuts what's beyond
(keys 1 "d minor" ) ;; Key signatures
(rm-with 'global 1 markLengthOn ;; Miscellaneous
70 (bar "|.")) ;; …the final touch
) %% End \global
%% The list of instruments can now be initialized.
#(init '(test)) %% List not empty = fixed metric: any new timing event will be
ignored
#(begin
(rm 'test 10 #{ c'''1 #}))
\new Staff { << \global \test >> }
—————