WLED-Native-Android icon indicating copy to clipboard operation
WLED-Native-Android copied to clipboard

[Q] sound-reactive WLED using Android media players/mic as source

Open eadmaster opened this issue 1 year ago • 1 comments

which options are there currently?

is it out of scope to be added in this app ?

the ones i've found are discontinued:

  • https://github.com/doktormerlin/HyperionVisualizer
  • https://github.com/ShiromMakkad/LedFxMobile

related: https://github.com/LedFx/LedFx/issues/230

EDIT: if implemented this could be a much easier alternative to wiring a microphone directly to the controller.

eadmaster avatar Jun 06 '24 20:06 eadmaster

EDIT: if implemented this could be a much easier alternative to wiring a microphone directly to the controller.

The protocol to use would be "UDP sound sync". Its described here: https://github.com/atuline/WLED/wiki/UDP-Sound-Sync

Please keep in mind that the protocol was designed for WLED-to-WLED communication. If you want to feed it from an external app, the app needs to implement some features of audioreactive:

  • low-cut filtering
  • AGC (automatic gain control) - maybe you can get away without that, if the user controls the gain manually (slider).
  • FFT (fast fourier analysis producing 16 "channels" )
  • optional: beat detection (even a crude peak detector would work)

softhack007 avatar Jun 17 '24 17:06 softhack007