Skip to content

feat(lighting): tighten the shared light response - #1233

Merged
CaYatur merged 1 commit into
mainfrom
feat/lighting-response
Nov 29, 2026
Merged

CaYatur merged 1 commit into
mainfrom
feat/lighting-response

Conversation

@CaYatur

@CaYatur CaYatur commented Nov 29, 2026

Copy link
Copy Markdown
Owner

Summary

  • Shared Dynamic Lighting and OpenRGB colour maths now keep a quiet song and a loud song in the same range, drop room hiss with a noise gate, and flash on onset so a bass note that stays loud does not swallow the next hit.
  • Bar spectrum maps 32 log-spaced columns. Brightness follows a square-law curve. Attack, release and smoothing are locked to time, so 24 Hz and 60 Hz land in the same place.
  • OpenRGB applies master brightness without running gamma a second time.

Tests

  • npm test: 4791 tests, 4790 passed, 1 skipped, 0 failed.

A physical LED panel was not used.

Level balance and a noise gate pull a quiet song and room hiss into a usable range. Flashes follow onset, so a bass note that stays loud does not swallow the next hit. Bar spectrum maps 32 log-spaced columns, brightness follows a square-law curve, and envelopes stay on time so 24 Hz and 60 Hz agree. OpenRGB applies master brightness without a second gamma pass.

4791 unit tests, 4790 passed, 1 skipped.

Co-authored-by: caganturgut <271973834+caganturgut@users.noreply.github.com>
@CaYatur
CaYatur merged commit addebcc into main Nov 29, 2026
5 checks passed
@CaYatur
CaYatur deleted the feat/lighting-response branch November 29, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant