pschatzmann / ESP32-A2DP

A Simple ESP32 Bluetooth A2DP Library (to implement a Music Receiver or Sender) that supports Arduino, PlatformIO and Espressif IDF
Apache License 2.0
1.73k stars 279 forks source link

from max98357 audio data to a2dp_source bluetooth headset #630

Closed fmkkaya closed 6 hours ago

fmkkaya commented 6 hours ago

Problem Description

Hello, I use the audio library with max98357 and transmit the sound to the speaker with i2s. Is it possible to transmit the data in i2s to bluetooth with the BluetoothA2DPSource library. when I examined your library, I could not see it. does your library support this? would you consider adding it?

Device Description

Esp32-wroom arduino

Sketch

a2dp_source.start("Galaxy Buds+ (D504)", get_sound_data_from_i2s);

Other Steps to Reproduce

No response

Provide your Version of the EP32 Arduino Core (or the IDF Version)

2.0.14

I have checked existing issues, discussions and online documentation

pschatzmann commented 6 hours ago

There are plenty of examples in the AudioTools library

fmkkaya commented 4 hours ago

Thank you for your answer. https://github.com/pschatzmann/arduino-audio-tools/tree/main/examples/examples-communication/a2dp I have reviewed all of this address but I could not find a suitable library. I kindly request your support.

pschatzmann commented 52 minutes ago

library ? I think you were looking for a sketch from I2S to A2DP. So that would be

You forgot to describe your I2S source device from which you want to read the audio from.