Commit Graph

649 Commits

Author SHA1 Message Date
Thomas Farstrike 71e1ea8bd2 stream_wav.py: add hardware volume control
uses shift but doesn't seem to work
2026-02-25 14:31:57 +01:00
Thomas Farstrike 4bbe81f786 Synchronize qemu with t-display-s3 2026-02-25 14:28:05 +01:00
Thomas Farstrike 391071aee4 Move file 2026-02-25 07:55:47 +01:00
Thomas Farstrike e4c0ee2570 Add duplex test 2026-02-25 07:54:54 +01:00
Thomas Farstrike 0268b20628 stream_wav: restore tweaks
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.
2026-02-24 23:27:53 +01:00
Thomas Farstrike 417b725473 stream_wav: reduce minimal sample rate 2026-02-24 23:20:02 +01:00
Thomas Farstrike 722ab65ebd MusicPlayer: show playing song 2026-02-24 21:44:36 +01:00
Thomas Farstrike cb7669f88a Logging 2026-02-24 21:40:24 +01:00
Thomas Farstrike f358ed65ae Fix volume setting 2026-02-24 16:47:02 +01:00
Thomas Farstrike daa7125052 Rework AudioManager 2026-02-24 16:39:26 +01:00
Thomas Farstrike 2f1ee282c3 Comments 2026-02-24 08:28:04 +01:00
Thomas Farstrike c95a24bbfa lilygo_t_display_s3: fix keyboard handling 2026-02-24 00:12:08 +01:00
Thomas Farstrike 33862749b7 Comments 2026-02-23 23:33:48 +01:00
Thomas Farstrike e0727c2d22 lilygo_t_display_s3: different rotation so buttons make sense
Otherwise, with 90 degree rotation, the PREV and NEXT buttons should be
swapped. With 270 degree rotation, they can remain.
2026-02-23 23:11:33 +01:00
Thomas Farstrike e8601c5b05 Board detect: use more digits
Otherwise it will break if espressif wraps around and starts
producing boards with the same first digit of the unique ID.
2026-02-23 23:03:42 +01:00
Thomas Farstrike b145b2f091 Comments 2026-02-23 23:03:01 +01:00
Thomas Farstrike d58f7c7bfb tweak qemu 2026-02-23 22:48:28 +01:00
Thomas Farstrike 1ab4845777 lilygo_t_display_s3: rotate display for more natural experience 2026-02-23 22:45:13 +01:00
Thomas Farstrike 31c2eb168c lilygo_t_display_s3: add combo guard
This avoids PREV or NEXT actions being triggered when
the buttons aren't pressed exactly simultaneously.
2026-02-23 22:29:25 +01:00
Thomas Farstrike 7acb881e8a Simplify 2026-02-23 22:15:50 +01:00
Thomas Farstrike 1d99047f3d Fix lilygo_t_display_s3.py 2026-02-23 22:11:09 +01:00
Thomas Farstrike 70915a78ca Rework IMU drivers 2026-02-21 12:11:08 +01:00
Thomas Farstrike aea339a143 Fix unit test 2026-02-21 11:39:25 +01:00
Thomas Farstrike 1ffd59155e SensorManager: handle IIO if the sensor isn't present 2026-02-21 08:38:28 +01:00
Thomas Farstrike 76e97ee6a5 IIODriver: add calibration stubs 2026-02-21 08:34:00 +01:00