Skip to content

starInEcust/MuseScore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MuseScore

Yet another musicxml render written in JS

License: GPL v3

Features

  • render numbered musical notation
  • support musicxml

Examples

edit musical notation in museScore client and export as musicxml

MuseScore

load musicxml and get an DOM element to render museScore

import museScore from 'packages/score';
import transfer from 'packages/xml-transfer';

window.onload = (() => {
  fetch('./assets/pugongying.musicxml').then(data => {
    return data.text();
  }).then((xml) => {
    const testJson = transfer(xml);
    museScore(
      { 
        selector: '#museScoreView',
        scoreData: testJson,   
        config: {
          mode: 'single',
          withEdit: true,
        },
    })
  });
});

you will get the numbered musical notation as the following

MuseScore

Roadmap

  • use typescript
  • use rematch instead of redux
  • support render multi-voice
  • support render five-line staff
  • have editing function

About

Yet another musicxml render written in JS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published