Incorrect .loop() behavior in p5.SoundFile

The .loop() function in p5.SoundFile isn’t working correctly for me.

Behavior: I set loop start and end points: it will start at the start point, but then loop back to 0 upon hitting the end point, instead of looping back to the start point.

To try it, go to the example https://p5js.org/reference/#/p5.SoundFile/loop, but then change one line:

in canvasPressed(), instead of soundFile.loop() try soundFile.loop(0, 1, 1, 0.5, 0.1);

This should start at 0.5seconds and play a repeating 0.1second loop: for me, I can hear it play the first 0.1 chunk, but then it clearly is starting from the beginning after that.

Help?

thank you!

cheers,

j