Hi all,
My first post here so I apologize for any info I missed.
I am currently working on upgrading my LED strip lighting circuit from basic patterns to adding music sync. I am using WS2812B addressable LEDs I have previously controlled with an Adafruit ItsyBitsy. My goal is to transmit audio via Bluetooth to the controller and sync the lights to that music. For this, I am replacing the ItsyBitsy with an ESP32 Pico Kit that has Bluetooth built-in and I plan to use it both for receiving audio and controlling the LEDs. I have found a few music sync projects, my favorite is here: https://create.arduino.cc/projecthub/buzzandy/music-reactive-led-strip-5645ed?ref=user&ref_id=341756&offset=1
The problem I have is that the project takes an analog input, converts it to digital, then processes it. I have also found projects using the ESP32 to receive BT audio, transmit it to a digital-to-analog converter, and play it through a speaker. (GitHub - tierneytim/btAudio: Bluetooth Audio for Arduino)
Basically, since the audio coming over BT is already digital (I think) I cannot figure out how to combine it with the music sync processing code which receives input from an analog-to-digital converter. Any help would be greatly appreciated! Thanks!