Hi all,

I would like to execute some (embedded scheme) code at the end of an input 
file, that is after the last score block. 

My current problem is that I am parsing score blocks, but some of the input is 
given as a single score block and the content in other files is put in many 
score blocks.
During my processing of this content I gather some statistics, and I would like 
to write them out to a file at the end of the file. In the current solution, I 
am running the export at the end of the finalize event on a score block, which 
of course causes the writing of the data to happen at the end of the parsing of 
every score block.

What would be the best way to only write out the statistics at the end of the 
file?

Thanks in advance!

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

Reply via email to