Esp32 play sounds to a speaker over bluetooth

Gryphon3rd
Posts: 4
Joined: Sat Nov 22, 2025 7:42 pm

Esp32 play sounds to a speaker over bluetooth

Postby Gryphon3rd » Sat Nov 22, 2025 7:49 pm

I have an esp32 dev board (esp32-Wroom-32e? Processor I think). I want to be able to pair it with a generic bluetooth speaker and send sounds/music to it. I have been unable to find any examples of that. Is it doable? How can I get started??

John

Minatel
Espressif staff
Espressif staff
Posts: 432
Joined: Mon Jan 04, 2021 2:06 pm

Re: Esp32 play sounds to a speaker over bluetooth

Postby Minatel » Sun Nov 23, 2025 12:18 pm

Hi,

You will find it at the esp-adf project on GitHub. The ADF is the audio framework and contains several applications examples related to audio, including Bluetooth players.


Gryphon3rd
Posts: 4
Joined: Sat Nov 22, 2025 7:42 pm

Re: Esp32 play sounds to a speaker over bluetooth

Postby Gryphon3rd » Mon Nov 24, 2025 1:27 am

Please forgive my ignorance. This is my first experience with any microcontroller. I have been a computer programmer for mainframe/mini/PC systems for over 40 years, but this is new to me. Can this code me 'integrated' with a normal Arduino-IDE sketch or would I have to start all over in C ?

John

nopnop2002
Posts: 347
Joined: Thu Oct 03, 2019 10:52 pm
Contact:

Re: Esp32 play sounds to a speaker over bluetooth

Postby nopnop2002 » Mon Nov 24, 2025 10:48 am


Gryphon3rd
Posts: 4
Joined: Sat Nov 22, 2025 7:42 pm

Re: Esp32 play sounds to a speaker over bluetooth

Postby Gryphon3rd » Mon Nov 24, 2025 3:07 pm

Thanks. I will post on the arduino forums and see if there is something equivalent there. Don’t really want to rewrite everything for a one off project like this. Have a great day

mikemoy
Posts: 687
Joined: Fri Jan 12, 2018 9:10 pm

Re: Esp32 play sounds to a speaker over bluetooth

Postby mikemoy » Mon Nov 24, 2025 9:18 pm

This is my first experience with any microcontroller.
Hope your journey is great, but know that you are jumping in the pool a bit on deep end with a first project like this.
You should get more familiar with the platform first, and FreeRTOS as this a dual core processor. make friends with menuconfig. There are a bazillion options in there which you can thing of it as your BIOS for a PC. Not having a feature enabled in there will cause some things not to work, so be aware.
Can this code me 'integrated' with a normal Arduino-IDE sketch or would I have to start all over in C ?
Try to resist starting off with Arduino-IDE, and use ESP-IDF. Arduino is a total joke, and will cause more harm than good later in like. ESP-IDF unlocks everything.

Gryphon3rd
Posts: 4
Joined: Sat Nov 22, 2025 7:42 pm

Re: Esp32 play sounds to a speaker over bluetooth

Postby Gryphon3rd » Mon Nov 24, 2025 9:27 pm

Thanks! I probably should have started with the esp-idf but not sure I want to change at this point. Have the project 75% completed already. It’s not a product, just a one off learning project. If I can’t get the mp3 working through arduino, I will switch.

At least the hardware I have built won’t need changing if I switch dev tools

Who is online

Users browsing this forum: Baidu [Spider], meta-externalagent, PerplexityBot and 6 guests