On Thu, Jun 16, 2011 at 11:01:18AM +0200, m...@apollinemike.com wrote: > I am working on a piece now where I need certain events to transmogrify into > other events. Specifically, whole-measure rests need to turn into > multi-measure rests, and given the way that the piece is algorithmically > generated, it would take a lot of time for me to change all of the `r' to `R' > when this is the case. I'd like to add a bit to rest-engraver.cc in the > spirit of :
This looks like using a tactical nuke to swat a fly. Why not write a plain old music function (in your .ly file) which changes the events? I see no reason to mess with C++ stuff here...? (obviously you'd add that music function to your algorithm-exporting code as well, but that's a minor issue) Cheers, - Graham _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user