p5.js-sound icon indicating copy to clipboard operation
p5.js-sound copied to clipboard

p5.Part onStep() doesn't loop...

Open rorywalsh opened this issue 4 years ago • 3 comments

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.

rorywalsh avatar Nov 09 '20 21:11 rorywalsh

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.

welcome[bot] avatar Nov 09 '20 21:11 welcome[bot]

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 avatar Nov 10 '20 10:11 rorywalsh

@rorywalsh thanks for the patience , will look into the matter soon!

endurance21 avatar Jan 01 '21 20:01 endurance21