QuasiBird still runs jittery at 22050 hz 16 bit stereo.
Mono is fine, and lower sample rates are fine too.
At max volume, so no volume scaling, the frame rate is quite high
but it still jitters. The question is why...
- does the buffer underrun?
- or does it spend too much time reading from SD card?
- or is the CPU busy?
Solutions:
- offload it to a different core
- do the I2S playback asynchronous
I guess it doesn't make sense tweaking this, as audio plays fine up to 48khz stereo
if no game is being played, just normal GUI updates.
MPU6886 is part of M5Stack FIRE. I compare the values from this device with Waveshare
ESP32-S3-Touch-LCD-2: The X-axis values are inverted. Fix this here.
This is a start of falling-blocks game. More improvements are possible
(and some are described in the sources), but this is already
playable. You can try to beat score of 120 :-).