pxt-microbit
pxt-microbit copied to clipboard
Play melody looping in the background slow down
Describe the bug Arising from https://support.microbit.org/helpdesk/tickets/86759 (private)
When playing a melody looping in the background, some are slower on the second and subsequent plays.
- ode 16s then 22s,
- wedding 8s then 8.5s
Other built in melodies don't seem to be affected.
It sounds like perhaps repeated notes are longer?
To Reproduce Steps to reproduce the behavior:
- Go to https://makecode.microbit.org/_K818E6KF7eX1
- Download to micro:bit V2
- Open device serial console
- Press button A
- Wait for 2 plays
- Hear longer notes on second play
- See longer time in console
- Press B to stop
Expected behavior All plays are roughly the same length.
micro:bit version (please complete the following information): V2.X
Desktop (please complete the following information):
- OS: [e.g. iOS] Windows
- Browser [e.g. chrome, safari] Chrome
- Version [e.g. 22]
I can still repro this.