p5.js-sound
p5.js-sound copied to clipboard
p5.SoundFile addCue - incorrect documentation, time is not passed to the callback
The documentation states:
"Time will be passed as the first parameter to the callback function, and param will be the second parameter."
As far as I can tell (I'm new to p5 and javascript) only param is passed to the callback.