Kieren MacMillan <kieren_macmil...@sympatico.ca> writes: > Understood — thanks for the clear explanation. I was hoping there > might be an [easy] way for a function to split parallel music into > moments "in the same key" (i.e., split points defined by key changes), > and then apply enharmonization to those chunks on a per-staff basis.
You'd need something like an enharmonize-engraver that would need to run after key changes and would tamper with all music events (including the key change itself). Conceivable, but it would be quite more prone to ugly things happening. The code that I posted is rather robust in contrast. Admittedly, it would likely not help with quoted music. -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user