p5.js-sound
p5.js-sound copied to clipboard
p5.Part onStep() doesn't loop...
This issue was closed in 2016 but it's still hasn't been fixed as far as I can tell. Check out this simple sketch. Once the initial notes have played the onStep() callback stops getting called. Any ideas? I'm testing in Chrome.
Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.
So it seems that I can just create a dummy pattern with a hit on each beat, and use this to drive the scrubber position. I'm slightly embarrassed I didn't think of this before posting! You can close this issue out if you like but I am pretty sure p5.Part::onStep()
doesn't loop once it gets to the end of phrase.
@rorywalsh thanks for the patience , will look into the matter soon!