TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Create Dim, Min, Maj, & Aug music chords with HTML5 & jQuery

19 pointsby cgcardonaalmost 14 years ago

7 comments

Goladusalmost 14 years ago
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:<p><a href="http://lilypond.org/doc/v2.12/Documentation/user/lilypond/index.html" rel="nofollow">http://lilypond.org/doc/v2.12/Documentation/user/lilypond/in...</a>
评论 #2622822 未加载
hsmyersalmost 14 years ago
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...
评论 #2622913 未加载
评论 #2622488 未加载
owynalmost 14 years ago
Check out vextab/vexflow, no need to re-invent the wheel. It's a complete (and open source) framework for music/tab notation:<p><a href="http://vextab.com/" rel="nofollow">http://vextab.com/</a>
评论 #2622824 未加载
tjarrattalmost 14 years ago
Hey @cgcardona, this is really cool, but the 'fork me on github' tag in the corner doesn't really work well on Webkit browsers.<p>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.<p>In Safari v5, you can see 'fork me on github' but it disappears on mouseover.<p>Very cool demo though.
评论 #2623067 未加载
JackWebbHelleralmost 14 years ago
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.<p>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"
评论 #2622876 未加载
redthrowawayalmost 14 years ago
Quite cool, but having a "play" button seems like a must for a site like that.
评论 #2622843 未加载
Budalmost 14 years ago
You forgot to account for the ledger line for middle C.
评论 #2622848 未加载