Skip to content

Audio-reactive lighting: visible flicker on real music #3

Description

@wsclx

Symptom

Documented in CHANGELOG [0.7.0-beta] known issues. The 10-chunk HID transfer per frame outruns the firmware's per-key RGB pipeline. Silence-flicker is gone (frame deduplication), but real-music smoothness still needs a protocol-layer change.

Likely fix

Skip the per-chunk read_response in set_many_at for write-only payloads — the firmware doesn't actually require the ack for SET_CUSTOM_LED_DATA, we just defensively wait. See crates/ak820-protocol/src/device.rs.

Acceptance

  • 30 fps frame target sustained for 60 s on real music input without flicker.
  • No regression in non-audio-reactive set_custom_led paths.

Scope

0.8.x. Currently shipping as alpha behind a two-stage opt-in (Locked / Unlocked) so users can't accidentally trip the flicker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions