Sending Sound from an ESP32 to a Bluetooth Sink (e.g. Bluetooth Speaker)
A couple of months ago, I described how you can use my Arduino A2DP library to receive music with an ESP32 via Bluetooth e.g. from a mobile phone. I have extended the library and implemented the BluetoothA2DPSource class that you can use to to the opposite and send sound data from an ESP32 to a Bluetooth Receiver: #include “BluetoothA2DPSource.h” #include <math.h> BluetoothA2DPSource a2dp_source; void setup() { a2dp_source.start(“MyMusic”, get_sound_data); } void loop() { } That’s pretty Read more








