Similar to .addImpulse, except that the .impulses
Array is reset to save memory. A new .impulses
array is created with this impulse as the only item.
Syntax
resetImpulse(path, callback, errorCallback)
Parameters
path
String:
path to a sound file
callback
Function:
function (optional)
errorCallback
Function:
function (optional)
Notice any errors or typos? Please let us know. Please feel free to edit lib/addons/p5.sound.js and open a pull request!