Getting repeats and volta's?
Is it possible to get information about voltas using plugins? I tried printing out segment types, annotations and element types without any luck.
Getting end of the repeat was also pain as there is no segment type for it ... but managed to do it somehow. Im writing export plugin for Ziffers, which is a numbered notation similar to Jianpu (but meant for algorithmic composition).
Comments
I don't think spanners/lines (such as a Volta) are exposed to the plugin framework.
One possible workaround can be to unroll the score before running the plugin (not sure if a plugin could unroll it for you) and then run the rest on the unrolled score. Then you don't have to process repeats at all.
In reply to I don't think spanners/lines… by jeetee
Thanks. Expected that but was not sure since VOLTA and VOLTA_SEGMENT are in the element type list.
I want to export the voltas to different format so unrolling wont work for that. I guess writing xquery for the musicxml format is the only way for that for now.
In reply to Thanks. Expected that but… by amiika
Hello, I wanted to ask if you achieved your goal of obtaining information about voltas using plugins, I can't find another reference that can help me