Mixing audio from SD and from bluetooth sources #2182
-
For my project I would like to achieve the following:
I have the code running for the SD card music source using an ESP32-S3 but now would like to add the bluetooth source. Alternatively I guess I could use an external bluetooth board that has an I2S output and feed that to the ESP32. Then what about mixing or selecting the source to pipe to the output? I hope someone can guide me in the right direction. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
As the documentation clearly states, only a regular ESP32 support Classic Bluetooth. All other variants only support BLE! Since Espressif plans to remove the A2DP functionality from Arduino, using an external module is a good choise. Also have a look at the Wiki Documentation: Analysing Audio: Determining the Volume. You can build a switch using the VolumeMeter and switch the mixer on when you get some signal and switch it off after a defined period w/o volume. I would recommend to do the mixing only when it is needed. |
Beta Was this translation helpful? Give feedback.
As the documentation clearly states, only a regular ESP32 support Classic Bluetooth. All other variants only support BLE!
Since Espressif plans to remove the A2DP functionality from Arduino, using an external module is a good choise.
Also have a look at the Wiki Documentation: Analysing Audio: Determining the Volume. You can build a switch using the VolumeMeter and switch the mixer on when you get some signal and switch it off after a defined period w/o volume.
I would recommend to do the mixing only when it is needed.