Aircoookie / WLED

Control WS2812B and many more types of digital RGB LEDs with an ESP8266 or ESP32 over WiFi!
https://kno.wled.ge
MIT License
14.2k stars 3.03k forks source link

add Webaudio capture for music effects #4025

Closed eadmaster closed 1 week ago

eadmaster commented 2 weeks ago

Is your feature request related to a problem? Please describe. Have the ability to capture audio from the microphone directly from the web interface.

Describe the solution you'd like Add webaudio-based capture for music effects, as supported by Ledfx.

As alternative, there is also the MediaRecorder API, which it is easier to use.

Describe alternatives you've considered

Additional context related: https://github.com/Moustachauve/WLED-Native-Android/issues/22

blazoncek commented 1 week ago

Not really WLED firmware related as it already has Audioreactive usermod.

eadmaster commented 1 week ago

still seems to require a physical mic connected to the board, which i'd like to avoid.

softhack007 commented 1 week ago

still seems to require a physical mic connected to the board, which i'd like to avoid.

You could write a PC software that connects to audioreactive using UDP sound sync. The protocol is described here:

This protocol delivers pre-processed audio information to WLED, and requires only 44 bytes each 20 milliseconds. There are no plans to create a "full" tcp/ip network based microphone interface for audioreactive.

Update

Update2

you can also use audioreactive with a line-in board, instead of microphone.