1) Introduction
Why another Rasperry Pi Bluetooth Speaker tutorial ?
Because I could not find a reliable and up-to-date source to tell me how to proceed.
Because Bluez is real pain to configure.
My purpose here is hence to present a step-by-step consistent procedure to help anybody to turn its Raspberry Pi into a headless bluetooth speaker.
What follows has been tested on a Raspberry Pi 3 Model B Rev 1.2 running Raspbian Stretch Lite at the time of writing, i.e. March 9th, 2019.
Note : I choose pulseaudio and not alsa as I need to run and mix several applications in my project.
2) Configuring Bluetooth as an A2DP Sink
We’ll be needing pulseaudio and it’s bluetooth module.
Code: Select all
pi@raspberrypi:~ $ sudo apt-get install pulseaudio pulseaudio-module-bluetooth
<