Schedule an event to be called when the soundfile reaches the end of a buffer. If the soundfile is playing through once, this will be called when it ends. If it is looping, it will be called when stop is called.
Syntax
onended(callback)
Parameters
callback
Function:
function to call when the soundfile has ended.
This page is generated from the comments in lib/addons/p5.sound.js . Please feel free to edit it and submit a pull request!