pxt-microbit
pxt-microbit copied to clipboard
Sound hangs if tones are played too quickly
Describe the bug Reported in support ticket https://support.microbit.org/helpdesk/tickets/57130 (private)
Sound stops on micro:bit V2 if tones are played too quickly. This project demonstrates the error: https://makecode.microbit.org/_ThWV01bxEe8r. The heart keeps beating, but sound stops after 3 tones.
If the pause is increased to 110ms, it's OK.
To Reproduce Steps to reproduce the behavior:
- Go to 'https://makecode.microbit.org/_ThWV01bxEe8r'
- Download to micro:bit V2
- Hear error
Expected behavior Tones keep playing
Screenshots
micro:bit version (please complete the following information): tested with v2.21
Desktop (please complete the following information):
- OS: [e.g. iOS] Windows
- Browser [e.g. chrome, safari] Chrome
- Version [e.g. 22]