1
0
Fork 0
Commit Graph

3 Commits

Author SHA1 Message Date
ivan tkachenko 908ddeb862 editorconfig: do not suggest null propagation for Unity code 2026-01-16 18:04:07 +02:00
ivan tkachenko b8accefff7 Ignore code lint IDE0305
Replacing expr.ToArray() with [..expr] doesn't simplify anything.
2026-01-13 21:43:53 +02:00
ivan tkachenko 69e64397a0 Extrapolate AudioSource playback time to get smoother transitions
AudioSource only updates about 25 times per second, meaning that even at
30 fps some adjacent frames would be calculated as having exact same
timestamps and render duplicated colors. At 100+ fps more than 2/3 of
the frames would be duplicates.

As a drive-by change, split complex logic of BeatTimeState into smaller
classes. Most of the time the state needs to maintain some boolean flag
which it flips once and stays that way, like HasStarted, IsLooping.
2025-08-11 22:28:31 +03:00