MIDI, svg, JSON relations
I want to ask, can you generate MIDI and SVG according to the music score, then can you generate JSON files corresponding to svg? This JSON is used to control some properties of SVG
I want to ask, can you generate MIDI and SVG according to the music score, then can you generate JSON files corresponding to svg? This JSON is used to control some properties of SVG
Do you still have an unanswered question? Please log in first to post your question.
Comments
You can export to MIDI and SVG and to various other formats, but to JSON.
In reply to You can export to MUDI and… by Jojo-Schmitz
Thank you, but my program uses json, SVG contrast, so I want to understand this.
In reply to You can export to MUDI and… by Jojo-Schmitz
Hello! Jojo-Schmitz, how to add the corresponding id in SVG
In reply to Hello! Jojo-Schmitz, how to… by fcfrt11
Pardon?
In reply to Pardon? by Jojo-Schmitz
Since the SVG generated in the musescore open source does not have the appropriate id we want to add an id to it, what do we do
In reply to Since the SVG generated in… by fcfrt11
By changing the MuseScore code or by hand-editing the SVG I guess
In reply to By changing the MuseScore… by Jojo-Schmitz
Hello!Jo-jo - Schmitz
My current problem is that the exported SVG does not have the information I need. I would like to ask how to add "id" and "transform=" matrix() to "Note" in the MuseScore open source project to export SVG content customization.See the attachment for the specific format
In reply to Hello!Jo-jo - Schmitz My… by fcfrt11
Same question as in https://musescore.org/en/node/289456 : why?
In reply to Same question as in https:/… by Jojo-Schmitz
Sorry, this title is a little different from what I described, so he sent another one, I'm really sorry.I want to know how to get the id and corresponding data in SVG
In reply to Sorry, this title is a… by fcfrt11
as said above: By changing the MuseScore code or by hand-editing the SVG
For the former best file a feature request ("Suggestion") in the issue tracker, and there also explain why you need this
In reply to as said above: By changing… by Jojo-Schmitz
Because we are going to use SVG to move the cursor either on the mobile side or on the web, depending on the id
In reply to Because we are going to use… by fcfrt11
As said elsewhere: where should get MuseScore get that id information from?
In reply to As said elsewhere: where… by Jojo-Schmitz
what
In reply to As said elsewhere: where… by Jojo-Schmitz
We added the id in the mscore/svggenerator in MuseScore3.0.5 project, but the resulting id in the class= "Note" element is selected, and the id is not accurate。
In the picture nearby in line 611 the id is still 607 but in line 612 the class= "Note" becomes 609 and the subsequent class= "Note" is added with 3 every time which is a bad problem
In reply to We added the id in the… by fcfrt11
Which seems a problem in your code, right?
In reply to Which seems a problem in… by Jojo-Schmitz
I'm not sure, I have no problem writing logic like this, but the data in exported SVG elements is incorrect
In reply to I'm not sure, I have no… by fcfrt11
We may need to see more of the code, are there any exits from that funtion that leave myid increased but not printed?
In reply to Pardon? by Jojo-Schmitz
Like this