-
Notifications
You must be signed in to change notification settings - Fork 706
Open
Description
Describe the bug
When using keyboard controls to edit a melody, the sound preview in the melody editor usually stops working after a few sounds. The console shows "Auto-suspended Audio Context". The simulator still plays sounds successfully, but the melody editor won't work again (won't play sounds) without a page reload.
To Reproduce
Steps to reproduce the behavior:
- It doesn't matter if you have the keyboard controls setting on or off (if it is off, you will need to click to open the melody editor first)
- Open a melody editor with keyboard or mouse controls
- Tab to edit the melody
- Use arrow keys to adjust
- You should get audio feedback for each one
- In reality you get a few and they it stops working
- See console
- The "play" button in the editor also stops working
- The sounds in the simulator continue to work
Expected behavior
Preview sounds should continue to function.
Screenshots
Loom demo video here
micro:bit version (please complete the following information):
N/A
Desktop (please complete the following information):
- OS: Win 11
- Browser: Firefox 145.0.2 (64-bit). Can't replicate in Chrome.
Smartphone (please complete the following information):
N/A
Metadata
Metadata
Assignees
Labels
No labels