> I hit the issue of adding accidentals above/below ornaments, and it > seems like there isn’t a widespread easy-to-use solution, is there? > https://gitlab.com/lilypond/lilypond/-/issues/3174 is supposed to > address the issue on the most fundamental level, but until that gets > there, I can well imagine a pragmatic solution just tacking the > accidentals on to the existing stencil. [...]
Have a look into the file `python/musicxml2ly_definitions.py` and check the value of the 'accidental-marks' key. Maybe this is useful for you. The macros don't change the pitch of the accidentals while transposing, though – I guess this could be added, but I don't need it for `musicxl2ly` so I haven't done anything into this direction. https://gitlab.com/lilypond/lilypond/-/blob/master/python/musicxml2ly_definitions.py?ref_type=heads#L230 You can see the accent macros in action on page 21, bar 10, in this PDF file: https://lilypond.org/doc/v2.25/input/regression/musicxml/collated-files.pdf Werner
