microsoft / pxt-arcade

Arcade game editor based on Microsoft MakeCode
https://arcade.makecode.com
MIT License
473 stars 200 forks source link

High Pitched Whine From Micro:bit Speaker on Micro:bit based Shields #6424

Open JakeAtKitronik opened 1 month ago

JakeAtKitronik commented 1 month ago

It has been noted on any arcade that is powered by a BBC Micro:bit, once a sound has been played, the speaker on the Micro:bit will constantly emit a noticeable high pitched whine. Similar in sound to CRT whine.

To reproduce the error, with any Micro:bit based arcade, force the micro:bit to play a sound. Before the sound is played, no whine can be heard. Once a sound has been played, the high pitched whine can be heard.

As the audio circuitry for the Micro:bit based arcades is present on the Micro:bit itself, not the Arcade, then it is likely that this is a software issue. This issue has not been noted on Arcades based off other processors (for example, the RP2040 or the Atmel SAMD), so it seems to be an N3 only issue. Again, this issue has been noted on all Micro:bit based Arcades.