redirecting sound output to bluetooth

Optimize your system for ultimate performance.

Moderators: MattKingUSA, khz

Post Reply
colic
Posts: 2
Joined: Tue Jun 09, 2015 8:09 am

redirecting sound output to bluetooth

Post by colic »

I was directed over here from ubuntuforums in the hope there are people who have done a bit more tweaking with sound output.

In brief, Im trying to get output from Ardour redirected to a bluetooth headset but can't figure out how to do it. If there's anyone who might have some ideas. here's the low down:

Im running Ubuntu 14.04 with a modified kernel, but not full Ubuntu Studio.

I have Ardour running with a Zoom G7 Guitar effects pedal via usb. I also run alsa_out and have got playback back though the Zoom, or redirected via alsa_out to play back through my PC speakers.

Im trying to go more step more and get playback via a set of bluetooth headphones. But I can't see how I specify the bluetooth headset to alsa_out.

At the time of these tests, the headphones are connected, working and able to output sound via Ubuntu.

aplay -l gives me this:

Code: Select all


    **** List of PLAYBACK Hardware Devices ****

    aplay -l

    card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 1: PCH [HDA Intel PCH], device 0: ALC668 Analog [ALC668 Analog]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 2: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]
      Subdevices: 0/1
      Subdevice #0: subdevice #0
So using alsa_out, I can get simultaneous output to my PC speakers like this:

Code: Select all

    alsa_out -d hw:1
But there is no bluetooth device listed in aplay for me to connect to?

So how could I alsa_out to redirect Artdour output back to my bluetooth headhones rather than through the Zoom ? Again, I have this working fine redirecting through my PC speakers, I just cant figure out how I tell alsa to redirect to the bluetooth headset.

Many thanks for any words of wisdom!
gimmeapill
Established Member
Posts: 564
Joined: Thu Mar 12, 2015 8:41 am
Has thanked: 44 times
Been thanked: 8 times

Re: redirecting sound output to bluetooth

Post by gimmeapill »

Never went that far, but this looks like a whole can of worms between bluez4 that doesn't support new devices and bluez 5 that doesn't support alsa:
https://wiki.archlinux.org/index.php/Bluetooth_headset
colic
Posts: 2
Joined: Tue Jun 09, 2015 8:09 am

Re: redirecting sound output to bluetooth

Post by colic »

Thanks for that info. Ill give it a try.
User avatar
bluebell
Established Member
Posts: 1923
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 112 times
Been thanked: 119 times

Re: redirecting sound output to bluetooth

Post by bluebell »

I never got jackd working with the ALSA-device from bluez. I gave up.

Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/

Post Reply