Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A Simple Parser Converts MusicXml to JSON

License

NotificationsYou must be signed in to change notification settings

AutoPiano/MusicXmlParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Simple Parser Converts MusicXml to JSON

自由钢琴早期用到的 MusicXml 解析器,可以将MusicXml文件转换为json结构,同时特异化地提取了xml中相关的元信息,方便进行自动播放。

由于目前自动播放已采用Midi文件解析实现,所以此XML解析器不会重点维护,生产环境使用可能会有风险,仅供参考。

运行

npm installcd srcnode main.js

结果示例:

{  "noteName": "A#3",  "duration": 1714,  "voice": "1",  "alter": "-1",  "type": "half",  "staff": "1"}

About

A Simple Parser Converts MusicXml to JSON

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp