I wanted to add a 'Cresc. molto' within the \Dynamics between two piano hands.
Using a \Markup within the piano would show it uncentered and out of whack.
I tried
cresMol = \tweak DynamicText.self-alignment-X #LEFT
#(make-dynamic-script (markup #:normal-text #:italic "Cresc. molto" ))
Which looks ok, but showed an error: unbounded AbsoluteDynamicEvent
And I also needed to add a \Whiteout, because it crosses a barline. \Whiteout
can't be done within a dynamic-script.
Then made this:
cresMol = {
\once \tweak DynamicText.text \markup { \whiteout \pad-markup #0.3 \normal-text
\italic "Cresc. molto" }
\once \tweak DynamicText.self-alignment-X #0
\once \tweak DynamicText.layer #2
\once \tweak DynamicText.whiteout ##t
\p}
Which looks ok when used, but still raises an unbounded AbsoluteDynamicEvent
error.
So I could just ignore the error, because the result is just fine. But rather
have a proper solution.
invoked like: s\p s4\cresMol | s2. |
it looks like this. How could I solve the error?
[2026-07-15 15 13 52.jpg]
Met vriendelijke groet,
Erik Appeldoorn