0

How to play MP3 (or sound) over Bluetooth with an Arduino?
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

How to play MP3 (or sound) over Bluetooth with an Arduino?

by Ada485 on Tue Feb 05, 2019 3:05 am

How would one output sound over Bluetooth exactly? The Adafruit Bluefruit LE Shield for example seems to be able to output over Bluetooth 4.0? It talks about all of the things it can do but I can't tell if it can simply "play" audio over Bluetooth headphones or not? I do know that MP3 decoding is still cutting edge even with the M4 Arduinos. But assume for a moment that audio can be output. How would one redirect it to play over Bluetooth headphones exactly?

Came across this post from 3 years ago now:

viewtopic.php?f=25&t=100156&p=502023

We don't have any Bluetooth devices that carry data fast enough to handle audio, and I'm not sure the Arduino is fast enough to capture streaming audio from a Wifi and write the information to a DAC in real time.

Most wireless audio links encode the data before transmitting it, then decode it after it arrives. The standard encoding is MP3, which is too complex for an Arduino to process on its own. You'd need something like a VS1053 codec to handle that part of the process: https://www.adafruit.com/products/1381

Overall though, you're looking at a research project instead of an existing kit.


Not sure that all holds true now that the M4 is out and commercially available? Also see https://learn.adafruit.com/native-mp3-d ... o/overview.

Also worth pointing out that the MP3 patents have now expired as well since that message.

Ada485
 
Posts: 95
Joined: Wed Oct 10, 2018 1:04 pm

Please be positive and constructive with your questions and comments.