Is there an existing issue for this?
I have read the contribution rules
AI authorship
Written by a human, no AI assistance
Current Behavior
The playback can throw:
48153.671943d8.js:2 Uncaught InvalidStateError: Failed to execute 'stop' on 'AudioScheduledSourceNode': cannot call stop without calling start first.
An error occurs on slower devices when the user rapidly presses play/pause.
Expected Behavior
No errors in the console
Steps To Reproduce
- Go to https://alphatab.net/docs/playground/ (1.8.4)
- Open DevTools, go to Performance tab and set CPU: 20x slowdown
- Select random note from the playground and press play and pause very quickly
- Error is thrown in the console
Link to jsFiddle, CodePen, Project
No response
Version and Environment
Platform
Web
Anything else?
No response
Is there an existing issue for this?
I have read the contribution rules
AI authorship
Written by a human, no AI assistance
Current Behavior
The playback can throw:
An error occurs on slower devices when the user rapidly presses play/pause.
Expected Behavior
No errors in the console
Steps To Reproduce
Link to jsFiddle, CodePen, Project
No response
Version and Environment
Platform
Web
Anything else?
No response