Given that all of the graphic elements needed exist as Unicode, and that there exists code to detect specific fonts on the viewers machine, I'd like to see them used as the default rather than the somewhat sketchy drawings as shown. Just a suggestion...
If I were going to start a project to map elements of a musical score to HTML5 custom attributes, I would probably start with something like Lilypond, which has a convenient formal specification:
No problem, and good luck. I started a number of music-language projects that rarely made much progress, usually because I got frustrated after recognizing my design had some fundamental flaw that made it particularly hard to express something important. In retrospect, if I had known about Lilypond I'd have started there.
Initially I had the middle C line showing up all the time but that is incorrect and made the music had to read. My intention is to make the middle C ledger intelligent enough to only show up when a note is sitting directly on it.
I can't get it to work - none of the examples in fact. I'm running Chrome Mac Dev Channel (v13.0.782.4). Clicking any of the buttons causes nothing to happen whatsoever.
One error is shown, when a button is DOUBLE-clicked (does not appear on single click), in the output console: "Error in event handler for 'undefined': Error: INDEX_SIZE_ERR: DOM Exception 1"
Hey @cgcardona, this is really cool, but the 'fork me on github' tag in the corner doesn't really work well on Webkit browsers.
With the latest chrome, you can't see "fork me on github" - only "cause i rock" backwards - this is a known bug with reverse css but is easy to work around.
In Safari v5, you can see 'fork me on github' but it disappears on mouseover.
19 comments
[ 3.8 ms ] story [ 48.5 ms ] threadhttp://lilypond.org/doc/v2.12/Documentation/user/lilypond/in...
http://vextab.com/
One error is shown, when a button is DOUBLE-clicked (does not appear on single click), in the output console: "Error in event handler for 'undefined': Error: INDEX_SIZE_ERR: DOM Exception 1"
Thanks for the bug report. Much appreciated.
With the latest chrome, you can't see "fork me on github" - only "cause i rock" backwards - this is a known bug with reverse css but is easy to work around.
In Safari v5, you can see 'fork me on github' but it disappears on mouseover.
Very cool demo though.