5 ms·
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/mr
by mrcoles 14y ago
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/audio.js#L86 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.