Neoplastic Plasma Medusa

    verovioscoreeditor

    1.2.13 • Public • Published

    VerovioScoreEditor

    Current version in npm repo: npm

    Current version on github: GitHub package.json version

    A score editor using verovio as rendering engine

    Initializing

    To initailize the score editor only need two different things are needed

    1. The container the score editor will be displayed in. The container must contain an ID, since many editors can be displayed on one page.
    2. If known beforehand, the data

    The data can be present in different forms. So to indicate which kind of processing will be used, the data will be passed as objects with specific keywords

    xmlData

    The xmlData can be passed either as String of the corresponding MusicXML or MEI, or as Document.

    var vse = new VerovioScoreEditor(container, {data: xmlData})
    

    urls

    The url must include a source for MEI data.

    var vse = new VerovioScoreEditor(container, {meiURL: url})
    

    empty score

    Initialization with an empty measure

    var vse = new VerovioScoreEditor(container, null)
    

    callbacks

    A callback can be passed to return the changed data as MEI. The MEI is returned as String

    var vse = new VerovioScoreEditor(container, {data: xmlData}, callback)
    

    or

    var vse = new VerovioScoreEditor(container, {meiURL: url}, callback)
    

    or

    var vse = new VerovioScoreEditor(container, null, callback)
    

    Keywords

    none

    Install

    npm i verovioscoreeditor

    DownloadsWeekly Downloads

    67

    Version

    1.2.13

    License

    MIT

    Unpacked Size

    7.38 MB

    Total Files

    85

    Last publish

    Collaborators

    • nowams