Genie Community Forum

Pi Zero 2 and bluetooth audio

Hi,

I successfully deployed a Pi Zero W2 as described by the documentation. As a next step, I would like to connect the output audio to a bluetooth speaker. I added the bluetooth speaker successfully to pulse audio, … and I’m able to play an MP3 file through both aplay and gstreamer. For that last step, I had to add some port latency:

pactl set-port-latency-offset bluez_card.XX_XX_XX_XX_XX_XX speaker-output 50000

I hoped that the genie-client would also use the bluetooth speaker as output. It doesn’t use the respeaker output anymore but I don’t hear anything on the bluetooth speaker either. Any suggestions?

Hi, I have found the solution:

Editing the config.ini file did the trick:

[audio]

# Just for the fun
voice=female

# defaults to pulseaudio:
backend=pulse
output=bluez_sink.XX_XX_XX_XX_XX.a2dp_sink

Blockquote

Hope this can help others.

maybe could help

https://wiki.almond.stanford.edu/en/getting-started/installation-guide/raspberry-pi-speaker