- a brainless partial port of my android piano view
- uses html5 canvas
- dependency free native javascript
- tested on IE11 and chrome
- see
demo.html
- also see my original android library
- Apache License, Version 2.0
- zoomable (while key width = 100px when scale = 1, see
PianoView.setScale(var scale)
) - scrollable (see
PianoView.setPosition(var position)
) - view easily extend-able to draw additional info
- simulated midi velocity by y-axis value of touch pointers
- multitouch
- detect mouse movement for scrolling