Page 1 of 1

Esp32 play sounds to a speaker over bluetooth

Posted: Sat Nov 22, 2025 7:49 pm
by Gryphon3rd
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

Re: Esp32 play sounds to a speaker over bluetooth

Posted: Sun Nov 23, 2025 12:18 pm
by Minatel
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.

Re: Esp32 play sounds to a speaker over bluetooth

Posted: Mon Nov 24, 2025 1:19 am
by nopnop2002

Re: Esp32 play sounds to a speaker over bluetooth

Posted: Mon Nov 24, 2025 1:27 am
by Gryphon3rd
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

Re: Esp32 play sounds to a speaker over bluetooth

Posted: Mon Nov 24, 2025 10:48 am
by nopnop2002

Re: Esp32 play sounds to a speaker over bluetooth

Posted: Mon Nov 24, 2025 3:07 pm
by Gryphon3rd
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

Re: Esp32 play sounds to a speaker over bluetooth

Posted: Mon Nov 24, 2025 9:18 pm
by mikemoy
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.

Re: Esp32 play sounds to a speaker over bluetooth

Posted: Mon Nov 24, 2025 9:27 pm
by Gryphon3rd
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