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

Audio reactive effects for PWM RGB Strips #3937

Closed
gaaat98 opened this issue Apr 27, 2024 · 5 comments · Fixed by #3942
Closed

Audio reactive effects for PWM RGB Strips #3937

gaaat98 opened this issue Apr 27, 2024 · 5 comments · Fixed by #3942

Comments

@gaaat98
Copy link

gaaat98 commented Apr 27, 2024

Hi! I was trying to replace some cheap TUYA RGB PWM controllers (specifically this) with Audioreactive WLED, but after spending the evening wiring everything up I realized that the audioreactive effects are only available for addressable strips (as also confirmed by #3494).

My question/feature request now is: it's possible to implement some simple effects such as changing brightness/color/effect speed based on sound? The cheap Tuya controller did it, and I think also WLED should be able to do it!

If I were to implement these effects myself, where should I start?

Thanks in advance

@dosipod
Copy link

dosipod commented Apr 28, 2024

@gaaat98 I do not use any analog strips but a trick we used for a long time to test is just create fake w281x output ( even setup a matrix if you like 2D audio effects ) . If you do that then you would have access to those effects in ui . Not exactly sure how good those effects would be on your setup but I just tested that with esp32 onboard led and it kinda works with audio effects. Better then nothing :)

@gaaat98
Copy link
Author

gaaat98 commented Apr 28, 2024

@gaaat98 I do not use any analog strips but a trick we used for a long time to test is just create fake w281x output ( even setup a matrix if you like 2D audio effects ) . If you do that then you would have access to those effects in ui . Not exactly sure how good those effects would be on your setup but I just tested that with esp32 onboard led and it kinda works with audio effects. Better then nothing :)

Thanks, this seems to be working also with my analog strips! I wonder if there's a way to turn this workaround into an actual feature

@blazoncek
Copy link
Collaborator

If effect works with a single pixel it should expose capability using metadata. That's all.

@gaaat98
Copy link
Author

gaaat98 commented Apr 29, 2024

So would it be welcome if I updated the metadata of the sound reactive effects that still do something "cool" on single pixels despite being designed for addressable strips or is it better not to change them?

@blazoncek
Copy link
Collaborator

Just be conservative and it will be ok. 😉

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

Successfully merging a pull request may close this issue.

3 participants