Source code and file documentation

• Oct 24, 2011 - 21:59

I am an old programmer (actually retired), and a new musician. I tried to write my own plug-in, but found too many obstacles.

At first, I found that MuseScore does not expose the Harmony object. After it was added to a chord or a rest, there's no way of retrieving it. Then, I was advised to export the current score as an XML file, and then extract the harmonies from that. Since JavaScript has no XML reading mechanism, and since QxmlStreamReader does not work within a MuseScore script, I spent about two weeks writing my own XML parser. However, after all of this work, I found that XML exporting is not accurate, and that it does not reflect the score precisely.

I think of fixing the bugs, but it has been almost ten years since I wrote my last C++ program. Another alternative is to read the .mscx file, and manipulate it in an external program. For both alternatives, I need the relevant source code and documentation.

Any comments?


Comments

Do you still have an unanswered question? Please log in first to post your question.