You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
I manually created a list of all presets, excluding 2D and audio effects. I would like to have a playlist when all my presets are chosen in random order.
I created a service preset with the code {"PS": "1 ~ 112r", "n": "_random"}. If you choose it manually, everything works fine. Next, I created a playlist with one single preset "_random", but this did not work.
I thought that this was a WLED restriction, but having continued research, I created a preset with the code {"seg": {"fx": "1~15r"}, "n": "_randomfx"} and a playlist based on it. And it worked!
The problem is that id's 1d effects without audio are not in order. It is impossible to choose everything using code {"fx": "n~mr"}
To Reproduce Bug
My test preserts.json in attachment. Please test _RND_FX and _RND_PS playlists presets.json
Expected Behavior
Playlist with random PS works as playlist with random FX. May be it will not difficult.
Install Method
Binary from WLED.me
What version of WLED?
WLED 0.15.0 (build 2412100)
Which microcontroller/board are you seeing the problem on?
ESP8266, ESP32
Relevant log/trace output
No response
Anything else?
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Your example seems to work for me.
Random is random. If you want random effect set limits from 1 to 187. If effect is unplayable on your device it will display solid effect instead. That's the nature of randomness.
What you want is grouping of effects which is inexisting ATM.
What happened?
Hello!
I manually created a list of all presets, excluding 2D and audio effects. I would like to have a playlist when all my presets are chosen in random order.
I created a service preset with the code
{"PS": "1 ~ 112r", "n": "_random"}
. If you choose it manually, everything works fine. Next, I created a playlist with one single preset "_random", but this did not work.I thought that this was a WLED restriction, but having continued research, I created a preset with the code
{"seg": {"fx": "1~15r"}, "n": "_randomfx"}
and a playlist based on it. And it worked!The problem is that id's 1d effects without audio are not in order. It is impossible to choose everything using code
{"fx": "n~mr"}
To Reproduce Bug
My test preserts.json in attachment. Please test _RND_FX and _RND_PS playlists
presets.json
Expected Behavior
Playlist with random PS works as playlist with random FX. May be it will not difficult.
Install Method
Binary from WLED.me
What version of WLED?
WLED 0.15.0 (build 2412100)
Which microcontroller/board are you seeing the problem on?
ESP8266, ESP32
Relevant log/trace output
No response
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: