News for hackers. Stuff that matters.
Re:Show HN: HTML5 Piano - with its own data URI synth by highfreq on Friday May 18, 2012 @06:44PM (#3994410)
It needs an short attack ramp, to eliminate the clicking. Or it can ensure that the waveform always start at the zero crossing.
Re:Show HN: HTML5 Piano - with its own data URI synth by mrcoles on Friday May 18, 2012 @06:51PM (#3994437)
Good point, I should modify my volume functions for that. The current code is here (the wave functions live just above that in the code):

https://github.com/mrcoles/javascript-piano/blob/master/audi...

Linear fade and quadratic fade sound nice on the way out, but all start at full volume.