On 11/10/2020 21:26, Kieren MacMillan wrote:
What I found really nice is the possibility to program the input to the edition engraver to handle tweaks to the same moment within numerous bars. Here's a particularly silly (in so many ways...) example illustrating the idea using just some very basic scheme:Note that I had to unfold the \repeat in the lower staff, in order to easily apply the tweak to the correct moment. This is one of the [many!] reasons I use the edition-engraver: you can inject the tweak at an exact moment, regardless of how the musical elements in that moment were generated.
>>>>> \version "2.21.6" \include "oll-core/package.ily" \loadPackage edition-engraver \consistToContexts #edition-engraver Score.Staff.Voice \addEdition beams\editionModList beams notes.Voice [ #(map (lambda (n) (cons n '(3/8))) (iota 30 1)) \editionModList beams notes.Voice ] #(map (lambda (n) (cons n '(5/8))) (iota 30 1))
\new Staff \with {
\editionID ##f notes
} {
\repeat unfold 40 {
\repeat unfold 8 {
c'8
}
}
}
<<<<<
OpenPGP_0x57FC077AF9176739.asc
Description: application/pgp-keys
OpenPGP_signature
Description: OpenPGP digital signature
