Streaming music to Ubuntu from a Bluetooth device

I’ve been intrigued by my new Samsung phone’s apparent ability to stream music to my laptop via Bluetooth. Ubuntu doesn’t appear to be able to do this out of the box and I had no idea where to search for this.

Today, I found the secret, thanks to this page:

After a few people asking me how to use the A2DP Sink with BlueZ, I’ve decided to write this mini-tutorial with a step-by-step on how to establish a A2DP stream from any device to a BlueZ-enabled host.

Before we start the hands-on, let’s see a little bit of nomenclature. In our use-case we have an stream being transmitted between two devices through a pipeline. Our pipeline is constructed of the remote host, BlueZ and PulseAudio. Each element of this pipeline has a Source (SRC) and a Sink (SNK) interface. The stream is handled between different elements by being sent from one element’s source to another element’s sink. So, the big picture of our pipeline is something like this (with the stream being represented by an arrow):

via 1, 2, 3, 4, A2DP Stream « jprvita’s weblog.

It’s still wonky out the wazoo but it looks like it can be done. I will wrestle with this more this evening.

Back from Virginia

We arrived home from Virginia yesterday afternoon after spending some fun time with Kelly’s parents. Kelly took the kids up in the middle of last week, with me joining them Saturday morning. I took the train up to Fredericksburg, where Kelly met me for some food and sightseeing in town before we headed west to Warrenton. The Oskar Blues Gordon beer at the Capital Ale House was quite tasty!

Sunday, we participated in the Leesburg Independence Day parade, with the kids on bikes and dog in tow. Rocket’s tender paws didn’t enjoy the blazing asphalt we encountered on that hot day but the rest of us had fun.

Monday was spent underground at Luray Caverns in Luray, Virginia. It was quite a respite from the heat wave, where temperatures have been in the mid-to-upper 90s.

Good to be home now, though I’m already looking forward to the next holiday!