Yet another musicxml render written in JS
- render numbered musical notation
- support musicxml
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,
},
})
});
});
- use typescript
- use rematch instead of redux
- support render multi-voice
- support render five-line staff
- have editing function