javascript-piano
javascript-piano copied to clipboard
An HTML5 JavaScript synth piano that generates all of its sounds using data URIs.
If the loop is 10s long, then it only starts playing 10s after `recordStop`. This is because `window.setInterval` doesn't run the function immediately, but rather only after interval. So I...
@mrcoles javascript-piano In the opportunity to greet you, I make the proposal to make the logo for your project. As a way to contribute with open source projects, it will...
``` javascript function noteToFreq(stepsFromMiddleC) { //Thomas Young 1799 Well Temperament frequency table taken from http://www.math.uwaterloo.ca/~mrubinst/tuning/tuning.html thomasYoungWellTemperament = { table : { 0:1, 1:1.055730636, 2:1.119771437, 3:1.187696971, 4:1.253888072, 5:1.334745462, 6:1.407640848, 7:1.496510232, 8:1.583595961,...