The Codepen below runs correctly when loopStart = 0; if you change it to some value above zero, the sample gets triggered twice after some time.
Unfortunately, this behaviour doesn't always show, but I found that opening a new tab with the CodePen usually results in the second loop playing two (or more) times, resulting in a higher loudness. This repeats several times afterwards.
To make things more interesting: once this behaviour occurs, the stop button (triggering Transport.stop() ) acts up when pressed several times. It restarts the loop or sample fragments with normal or higher loudness (which I assums is several samples playing at once).
Expected behavior
Loop playing correctly with normal gain.
What I've tried
setLoopPoints and loopStart/End behave identical.
I played around with playbackRate, but to no avail. The codepen has no fancy features so far, so that seems to be no side effect.
Describe the bug
The Codepen below runs correctly when loopStart = 0; if you change it to some value above zero, the sample gets triggered twice after some time. Unfortunately, this behaviour doesn't always show, but I found that opening a new tab with the CodePen usually results in the second loop playing two (or more) times, resulting in a higher loudness. This repeats several times afterwards.
To make things more interesting: once this behaviour occurs, the stop button (triggering Transport.stop() ) acts up when pressed several times. It restarts the loop or sample fragments with normal or higher loudness (which I assums is several samples playing at once).
To Reproduce
https://codepen.io/dirkk0/pen/zYzEBNV
Expected behavior Loop playing correctly with normal gain.
What I've tried setLoopPoints and loopStart/End behave identical. I played around with playbackRate, but to no avail. The codepen has no fancy features so far, so that seems to be no side effect.
Tested on Chrome and Firefox on a Mac and Linux.