espressif / esp-adf

Espressif Audio Development Framework
Other
1.54k stars 677 forks source link

How simply connect ESP32 to Bluetooth Speaker and play sound file? (AUD-5515) #45

Closed williamesp2015 closed 5 years ago

williamesp2015 commented 6 years ago

If we have Bluetooth Speaker then we do not need I2S/DAC to play sound. In this case how to connect ESP32 with a Bluetooth Speaker and send streaming Audio File, pause and resume it. Thank you

tuanpmt commented 6 years ago

Hi @williamesp2015

The current version only supports BT Sink, We will add BT Source feature for next release.

Thanks.,

rob-bits commented 6 years ago

Hi @tuanpmt ,

Would you please consider my issue at the esp-idf library?

[TW#23410] A2DP Source stream audio to two Sink device #2060

It would really help me if the BT source feature could stream audio to two device.

Thanks!

Robert

zeitounian commented 6 years ago

Good morning, we are a development company of São Paulo, we have a demand of a client that needs to transmit audio and also control some IO's of ESP32, you can help me, we are already developing an APP, but the hardware is more complex, the ESP32 must receive the audio stream and when it receives some command to trigger the IO does not interrupt the audio stream.

jason-mao commented 5 years ago

@rob-bits BT-Source has been supported on release v1.0. Please refer to https://github.com/espressif/esp-adf/tree/master/examples/player/pipeline_bt_source

rob-bits commented 5 years ago

@jason-mao Hice to hear it is implemented but i was wondering the support to connect/stream audio simultaneously to two sink device. I have a proof-of-concept with BTStack from bluekitchen + ESP32. But it would be nice if the esp-idf or esp-adf would have this functionality.

Please check my issue: [TW#23410] A2DP Source stream audio to two Sink device #2060

Should I open a new issue with this desire?

vednildip commented 3 months ago

For Arduino IDE how to implement for Bluetooth speaker connection ?