wrumble
Posts: 31
Joined: Tue Dec 27, 2016 10:18 pm

Play through bluetooth speakers instead.

Tue May 16, 2017 4:57 pm

Has anyone tried or managed to get this done? I've tried this:

https://www.raspberrypi.org/magpi/bluet ... erry-pi-3/

but haven't had any luck, it still comes out the provided speaker.

gregeric
Posts: 1509
Joined: Mon Nov 28, 2011 10:08 am

Re: Play through bluetooth speakers instead.

Tue May 16, 2017 5:16 pm

All that's required is firstly to pair the speaker from the Bluetooth menu: left-click -> "Add Device", then right-click on the Speaker icon to selecting your BT speaker.

wrumble
Posts: 31
Joined: Tue Dec 27, 2016 10:18 pm

Re: Play through bluetooth speakers instead.

Tue May 16, 2017 5:22 pm

@gregeric Have you tried this in conjunction with the Google AIY then? Because mine is connecting to the speaker but still playing through the hardware AIY speaker provided in the kit.

gregeric
Posts: 1509
Joined: Mon Nov 28, 2011 10:08 am

Re: Play through bluetooth speakers instead.

Tue May 16, 2017 5:37 pm

I'm pretty sure it worked in that configuration when I first played with the Voice HAT & AIY (I'm now running it without any google hardware / Voice HAT drivers).

If you're running headless, & you encounter any Bluetooth connectivity issues, you'll find it will revert to the Google hardware for output. The only way to re-enable BT sound is again to right click on the speaker icon & re-select it (you can automate that though with an xdotool mouse-movement script).

wrumble
Posts: 31
Joined: Tue Dec 27, 2016 10:18 pm

Re: Play through bluetooth speakers instead.

Tue May 16, 2017 6:12 pm

@gregeric Just did a quick test. The sound through the browser plays through the bluetooth speaker. The AIY through the supplied speaker. When i detatch the supplied speaker the AIY doesn't make any sound(as expected) even with the bluetooth speaker attatched.

gregeric
Posts: 1509
Joined: Mon Nov 28, 2011 10:08 am

Re: Play through bluetooth speakers instead.

Tue May 16, 2017 6:26 pm

You could replicate my current setup: comment out the dtoverlay=googlevoicehat-soundcard in config.txt, & add drivers only for the mics by following my guide here: viewtopic.php?f=44&t=173640. You only need follow the steps in the first post there, no asound.rc tweaks required.

wrumble
Posts: 31
Joined: Tue Dec 27, 2016 10:18 pm

Re: Play through bluetooth speakers instead.

Tue May 16, 2017 6:50 pm

Haha, no thanks, ive customised a lot of code that added google play, bbc radio and youtube playback, thanks though.

gregeric
Posts: 1509
Joined: Mon Nov 28, 2011 10:08 am

Re: Play through bluetooth speakers instead.

Tue May 16, 2017 6:58 pm

Those changes will not affect any of your mods, and are easily reversible by simply re-enabling the google dtoverlay= and commenting out mine.

wrumble
Posts: 31
Joined: Tue Dec 27, 2016 10:18 pm

Re: Play through bluetooth speakers instead.

Tue May 16, 2017 9:27 pm

Ok, ill give it a go.

Thanks

wrumble
Posts: 31
Joined: Tue Dec 27, 2016 10:18 pm

Re: Play through bluetooth speakers instead.

Tue May 16, 2017 9:50 pm

Didnt work im afraid. Thanks though

Bodestone
Posts: 46
Joined: Wed May 10, 2017 7:14 pm

Re: Play through bluetooth speakers instead.

Tue May 16, 2017 9:58 pm

There are a lot of bits and bobs around the audio.
Run alsamix and see available audio devices.
Do find in files for the strings for those devices.
There could be another dependant config file in your case.

Back up the image and play, play play. That's the fun :-D

wrumble
Posts: 31
Joined: Tue Dec 27, 2016 10:18 pm

Re: Play through bluetooth speakers instead.

Wed May 17, 2017 12:16 pm

Hey, thanks for replying. I cant make much sense of your reply. I understand about playing but im not sure where to start looking?

Return to “AIY Projects”