Jean-François Moine

Results 104 comments of Jean-François Moine

Recently, I found informations about CDATA. It is working for XHTML only (not HTML) and, also, it will soon be deprecated. But I found that reserved characters work with simple...

I am adding a 'to ABC' script for you, but it is not ready yet. I hope it will be out before the end of this week.

I uploaded the new script toabc.js. It permits to re-generate ABC from ABC. There are some limitations: only the tunes are dumped (no global definitions), and some parameters are lost....

Then, I don't see the problem. You just load your script after abc2svg-1.js, you set user.get_abcmodel to your function, and you have all the music when the tunes are loaded....

I thought abc2svg was simple enough. The core (abc2svg-1.js) is a library that contains a ABC parser and a SVG generator. There must be some program to call it. Such...

OK, let's restart from the beginning: which driver are you using? Otherwise, I don't understand your 'obj'. ABC is music, and music is composed of a lot of objects: notes,...

The driver is the entity which is responsible to inject the source into the translator. The entities that treat the translation result are the backends. With abc2svg, there are 2...

JSON is not the right way to serialize data as the music representation: it lacks references. Then, it is quite impossible to rebuild ABC from a JSON representation: look at...

You wrote: > if YAML works fine, then JSON also will do. That's not true: YAML has references, so that you can rebuild the exact data, including the pointers, in...

@jisike, now I see what you want. You may easily generate musicjson from the get_abcmodel callback function looking at the source of util/json.js. Translating back musicjson to ABC should be...