Piano simulator written using only JavaScript (Mozilla Audio Data API) and some math knowledge :) (online demo: http://rreverser.com/dev/piano/#.UK03mTBTvoo).