microsoft / microsoft/pxt-microbit
Random freezes when playing tones on Microbit V2
@JohnVidler is already working on this.
Since Mar 17, 2023.
- Dominant language
- TypeScript
- Stars
- 804
- Forks
- 721
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 2
Description
When playing tones multiples times, by button press or edge events on Pins (tried P1 or P2), the board freezes after a few or many attempts.
Demo :
https://makecode.microbit.org/_FRjWbe2pJMbX
It looks a bit like the bug https://github.com/microbit-foundation/micropython-microbit-v2/issues/73, but Makecode uses a recent enough CODAL version however (codal-microbit-v2 runtime version: v0.2.32)
I've tried with a without an external speaker board, different tones, differnts sounds durations, to no avail. Playing the SAME tone multiple times shortly seems to freeze the board more easily though
Attempted with Firefox 99.0.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.