You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 6, 2023. It is now read-only.
Converter.js contains the (Boolean) pendingSectionBreak object property; when it's true, full 'info' (key and clef signatures, meter) is added to the first measure of a new system, see https://github.com/TEI-Music-SIG/MEItoVexFlow/blob/master/src/Converter.js#L473-L478. This property is initially true and gets set to false every time full info is added to the first measure in a system. As a result, the first system in an MEI file has full info, all following systems don't.
My question is: How should setting pendingSectionBreak true be triggered from the MEI code? Despite the name, I don't think <section> is suitable to do this automatically, as an MEI section doesn't necessarily indicate the change of a musical section in the sense of a musical movement. <mDiv> might be suitable; I think in many cases you would expect a new mDiv to start in a new system an have the full 'info'. To be on the safe side, you could trigger an mei2vf section break with every new mDiv by default, but add a general config option to turn this behavior on/off.