I'm using Tone.js in a React web app (Tone is awesome thank you).
I've encountered this issue:
I have a PolySynth that's synced to the transport. If I call Transport.stop() before the duration of the PolySynth's schedualed notes is over, the notes keeps playing nonstop, until I refresh the page.
Please see this codeSandBox (if you click play, and then click stop less then 2 seconds after, it will reproduce).
Hi!
I'm using Tone.js in a React web app (Tone is awesome thank you). I've encountered this issue: I have a PolySynth that's synced to the transport. If I call
Transport.stop()
before the duration of the PolySynth's schedualed notes is over, the notes keeps playing nonstop, until I refresh the page.Please see this codeSandBox (if you click play, and then click stop less then 2 seconds after, it will reproduce).
Any thing I can do about it? Thanks!:)