On Sun, 17 Jul 2022 at 10:12, Benjamin Tordoff <
ben.tordoff@me.com> wrote:
>
> Hi all,
>
> I'm typesetting a score that uses "subito p" and "subito pp" in a couple of places. I've found snippets explaining how to get this to look right (subito in normal italics, the "p" or "pp" in dynamic font), and another snippet showing how to create a custom dynamic that correctly sets the midi volume, but not one that does both. What is the best way to add a text prefix to a dynamic whilst also retaining the dynamic's effect on MIDI output?
>
Hello,
You could adapt Graham's "make-dynamic-extra" into a
"make-extra-dynamic".
IIRC the alignment was correct (dynamic part was aligned on note head
) and it was correctly recognized for MIDI generation.