14 ms·
I wrote a sheet-music rendering engine in JavaScript. It's all our own stuff.
by adrianh 13y ago
I wrote a sheet-music rendering engine in JavaScript. It's all our own stuff.
- jay-anderson 13y agoVery impressive. The only other javascript renderer I know of is vexflow (http://www.vexflow.com/ http://www.vexflow.com/). I think the output of yours is superior (the vexflow slurs and ties are way too heavy among other issues). Any reason you didn't go with lilypond or some other existing solution? (Reading a bit more on your site it sounds like licensing the rendering is part of your business model. I may have answered my own question.) Also, I'm glad you using Behind Bars. It's a great reference. One comment: I think your tuplets can use some work. They seem too large to my eye and sometimes they are too far from the beam or notes (see about 8 measures from the end in the auld lang sine). Tuplet numbers are allowed to collide with the staff lines. However Gould recommends that they not be wholly within the staff.
- the_cat_kittles 13y agohow are the notes represented pre-render? time, pitch, duration? or like midi on off events. Would you ever consider open sourcing your engine?