> chordRoot =
> #(define-music-function (m) (ly:music?) (event-chord-reduce m))
That works perfectly!

>
> I don't like the name.  Once we come up with a nice bike shed color, we
> probably should provide that function in LilyPond proper and document it
> along with Pitch_squash_engraver.

I agree that this would be a handy function to exist and have
documented in section 1.1.4 of the notation reference, though I don't
have a better idea for the name. Now that I know about
event-chord-reduce, I see that this has been discussed before:
https://code.google.com/p/lilypond/issues/detail?id=185

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to