pxt-microbit icon indicating copy to clipboard operation
pxt-microbit copied to clipboard

Sound hangs if tones are played too quickly

Open martinwork opened this issue 2 years ago • 0 comments

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:

  1. Go to 'https://makecode.microbit.org/_ThWV01bxEe8r'
  2. Download to micro:bit V2
  3. Hear error

Expected behavior Tones keep playing

Screenshots image

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]

martinwork avatar Sep 26 '22 11:09 martinwork