One of the best features on the newer models of the Raspberry Pi such as the Raspberry Pi 3 Model B+ and Pi Zero W, is its on-board bluetooth capability.
In this guide, we will learn to connect the Raspberry Pi to a portable bluetooth speaker and play music from it! This guide will work for any bluetooth-enabled Raspberry Pi board. For the older models, a USB to Bluetooth Dongle can be used.
After this is done, you will be able to play music wirelessly from your Raspberry Pi.