Set a p5.SoundFile's looping flag to true or false. If the sound is currently playing, this change will take effect when it reaches the end of the current playback.
Syntax
setLoop(Boolean)
Parameters
Boolean
Boolean:
set looping to true or false
This page is generated from the comments in lib/addons/p5.sound.js . Please feel free to edit it and submit a pull request!