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.

Show HN: HTML5 Piano - with its own data URI synth

64 pointsby mrcolesabout 13 years ago

11 comments

egivaabout 13 years ago
Don't see anyone mentioning here that you can also play the piano with the ASDF...(etc) keys on your computer's keyboard. It was way easier playing it that way, rather than clicking with the mouse. Great job!
评论 #3994591 未加载
评论 #3994511 未加载
评论 #3994541 未加载
medwezysabout 13 years ago
Don't open the page with an iPad. It keeps showing js alerts non-stop and you have to kill safari to fix it :)
评论 #3994284 未加载
评论 #3994124 未加载
评论 #3994133 未加载
graueabout 13 years ago
I'm getting no sound in Firefox 12 on Linux. On Chromium 18, this somewhat works, but with lots of clicking (not mouse clicking, audio file clicking) and distortion - it doesn't sound anything like zitterbewegung's song - and certain notes seem to randomly go dead (they stop making a sound when clicked).
评论 #3994275 未加载
zitterbewegungabout 13 years ago
Here is a song I made it with. I used an apple mouse and webkit. <a href="http://soundcloud.com/joshua-herman/whatwgsong" rel="nofollow">http://soundcloud.com/joshua-herman/whatwgsong</a>
评论 #3994145 未加载
评论 #3994023 未加载
vidarhabout 13 years ago
First thing this reminded me of, especially because of the choice of sine, triangle, square or sawtooth waves and the slightly creaky sound was C64 Music Maker - an piano overlay for the C64 keyboard:<p><a href="http://retro-treasures.blogspot.co.uk/2007/11/commodore-64-music-maker.html" rel="nofollow">http://retro-treasures.blogspot.co.uk/2007/11/commodore-64-m...</a>
Mpdreamzabout 13 years ago
I created html5piano.com with pretty much the same end goal of using browser generated sounds versus static audiofiles but got sidetracked with implementing chords and sequencer and then moved on. Great to see it implemented using data uri's!
kilovoltaireabout 13 years ago
Awesome. Although I don't understand why you load each data URI thrice?
评论 #3993555 未加载
highfreqabout 13 years ago
It needs an short attack ramp, to eliminate the clicking. Or it can ensure that the waveform always start at the zero crossing.
评论 #3994437 未加载
jperkelensabout 13 years ago
Crashes my chrome tab.
评论 #3994127 未加载
评论 #3994975 未加载
laconianabout 13 years ago
It gets way out of tune the farther you get from middle C.
评论 #3994119 未加载
评论 #3993803 未加载
dlsymabout 13 years ago
Love the distortion effect!