If no one objects, your functions are sufficiently concise that I
would suggest folding them directly into the extractMusic.ly file
which is linked from the snippet URL, if the original author agrees.
No problesm for me to add that, but you can notice that in the snippet
( http://lsr.dsi.unimi.it/LSR/Item?id=542 ), there is a link, pointed to
the last version of "extractMusic.ly", and there is already some functions
which already do the same things ( well there are called \extractBegin and
\extractEnd).
There is even a small doc for these functions (and also for others).
Here is this link :
http://gillesth.free.fr/Lilypond/extractMusic/
--
Gilles
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user