Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

[Question] Full measure 'info' and system break with every new <mDiv>? #43

@aerhard

Description

@aerhard

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions