Sending my Jack sesson out of a bluetooth headset?
Posted: Tue May 05, 2015 3:17 pm
Hey everyone, new member here, so apologies if this is the wrong forum. I've been trying for ages to get my music composition and recording going on Linux; after I switched full-time in 2013 I just kinda stopped doing anything, since Sibelius was by bread and butter for composing and MIDI editing, and I've never been able to get that working well in Wine.
Well, this week I finally managed to get a complete Jack setup that allows me to do everything I want while I'm doing my recording/composing, including Rosegarden for the actual heavy lifting (I love it!) The problem is, this is all on my laptop, and sometimes I go on the road with it and don't care about all the Jack setup: I just want to connect by Bluetooth headphones to the laptop and use those for e.g. video playback, just like I did before I set up the whole Jack daemon.
To get Jack running I'm using a custom .asoundrc file (under Debian Jesse) but of course trying to add the one snippit I found for bluetooth output doesn't seem to actually do anything (see the code below).
Anyone have any advice on getting this working? Ideally I'd like a single button: Jack mode, or Pulseaudio mode, for output. I'm a Linux sysadmin so if I needed to I could probably write some monstrous hacky script to do it all for me, but surely someone else has had this thought and has a [GUI] method to do this kind of switch simply?
Thanks for reading!
Edit 1: Immediately after posting I had the thought that I could create a dedicated user for the Music stuff. Not as seamless as a button but it might just work for me. However I'm still open to just about any help you guys can provide!
Well, this week I finally managed to get a complete Jack setup that allows me to do everything I want while I'm doing my recording/composing, including Rosegarden for the actual heavy lifting (I love it!) The problem is, this is all on my laptop, and sometimes I go on the road with it and don't care about all the Jack setup: I just want to connect by Bluetooth headphones to the laptop and use those for e.g. video playback, just like I did before I set up the whole Jack daemon.
To get Jack running I'm using a custom .asoundrc file (under Debian Jesse) but of course trying to add the one snippit I found for bluetooth output doesn't seem to actually do anything (see the code below).
Anyone have any advice on getting this working? Ideally I'd like a single button: Jack mode, or Pulseaudio mode, for output. I'm a Linux sysadmin so if I needed to I could probably write some monstrous hacky script to do it all for me, but surely someone else has had this thought and has a [GUI] method to do this kind of switch simply?
Thanks for reading!
Code: Select all
pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
pcm.btphilips {
type plug
slave {
pcm {
type bluetooth
device "00:1E:7C:XX:XX:XX"
profile "auto"
}
}
hint {
show on
description "Philips Bluetooth Headphones"
}
}