> I rather thought about Lilypond being able to "look ahead|behind" > like (I imagine is working) the "Melody_Engraver" to harmonise (no > pun intended) the pitch shift up or down decision. > > \language "english" > > In my use case <gqs bqf> : > - the gqs is the note g pitched upward. > - the bqf is the note b pitched downward. > > To homogenise the output, I think the MIDI output should transform : > <gqs bqf> → <atqf bqf> > or equivalently > <gqs bqf> → <gqs atqs>
This is a nice idea and should be rather easy to implement! While not working in general for micro-tones, it seems to be a good solution for quarter tones. Please open an issue at https://gitlab.com/lilypond/lilypond/-/issues/ and tag it as an enhancement. Werner