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)
This page is generated from the comments in lib/addons/p5.sound.js . Please feel free to edit it and submit a pull request!