Skip to content

Feature request: Audio input over UDP (from PC or Raspberry Pi) #3141

Open
@WouterGritter

Description

@WouterGritter

Is your feature request related to a problem? Please describe.
I have various WLED esps/strips in my living room, and it would be very annoying to run an analog audio cable to every esp.

Describe the solution you'd like
A UDP audio input stream function, just like the sync function.

Describe alternatives you've considered
I have written a python script that uses the UDP sync function to update my strips at 50-100hz, based on an audio input on a raspberry pi (connected to my tv to sync with music/my sound bar). This works great and amazing, and is very instant, however this way I have to reimplement every effect that uses the audio input, and I cannot use these effects on WLED itself. Seeing that such a datastream gets handled perfectly (I'm using ESP8266's) I think that streaming the audio would also work great (maybe with some preprocessing on the "server" side with the audio input)

Additional context
I would be willing to implement this feature myself, so some pointers on where to look, what to look out for and things to consider would be awesome. I'll also update this issue with a link to my python script if other people would like to try it out!

Since WLED currently works with an analog audio input on the esp8266, I'm wondering if you could also make this work with a separate esp8266 for the audio input and UDP streaming. Currently, my setup involves a raspberry pi running a python script.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions