Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playlist duration time < 0.2 second needed #4164

Open
Cryghast opened this issue Sep 28, 2024 · 2 comments
Open

Playlist duration time < 0.2 second needed #4164

Cryghast opened this issue Sep 28, 2024 · 2 comments

Comments

@Cryghast
Copy link

image

Version: 0.15.0 b5

Can‘t set duration time to 0.1s,the limit is 0.2s

Currently I‘m using esp8266

Recently I’m working on a project that needs very smooth color change,should change the color every 0.1s or smaller scale, but playlist seems not support that

@softhack007
Copy link
Collaborator

softhack007 commented Sep 28, 2024

Hi,

Playlist minimal time is 0.2 seconds for technical reasons - especially for 8266 which is easily overloaded (and crashing) when frequently changing presets.

FYI preset parsing and activation currently takes between 50ms and 300ms, depending on flash speed, chip (8266 or esp32) and content of a preset. The interlock (semaphore) for the global JSON buffer - need when applying a preset - has a timeout of ~250ms.
So changing presets more often than 5 times per second will usually not work, or even lead to crashes.

Did you try with "crossfade" and "palette transition" (LED prefereces) enabled? This should lead to smooth changing of colors. You might also need to switch on "off refresh" (led settings) to make the static color effect react smoothly.

@softhack007 softhack007 changed the title Playlist duration time problem Playlist duration time < 0.2 second needed Sep 28, 2024
@Cryghast
Copy link
Author

Cryghast commented Oct 3, 2024

If this is a hardware limit, then I guess it is hard to solve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants