Jean Abou Samra <[email protected]> writes: > Le 17/07/2022 à 19:14, Benjamin Tordoff a écrit : >> Thanks David & Jean, both approaches work well and look good. The >> original indications were left aligned to the note so the alignment >> adjustment isn't needed in this case. I have no idea if one of these >> is technically superior to the other, although I suspect the fact I >> need both sub.P and sub.PP means less code with David's approach. >> >> I wonder if this could be added to the snippet examples about >> defining new dynamics? I don't think I would have stood any chance >> of finding either solution without your help, and I suspect I'm not >> the only one who might need this. > > > Well, I don't like documenting stuff that I would like to see improved > in the first place. It would make a lot more sense to carry the volume > in the event so you could implement a function used like > > subPP = \dynamic #0.5 \markup { sub. \dynamic pp }
Agreed. Incidentally, my approach doesn't care just how the MIDI volume is derived and would continue to work even after such a change of implementation. -- David Kastrup
