8

I want to know if it is possible, to use a Bluetooth Audio Device (mine is a AMP from SURE electronics) as a output for JACK.

Currently i am only aware of the pulseaudio-bluetooth module and the possibility to run pulseaudio in combination with jackd the other way round: pulseaudio as a client(called source/sink) for jackd.

PS: I guess i'll have more latency and other issues as well and it is maybe an edge-case etc... but i'd still like to do it.

4
  • 1
    Just checked in to find an possible answer, but instead its claimed as off-topic. I don't understand why. Is it out of scope to ask questions about the two packages jack and pulseaudio, which are part of many *nix-distributions? Please help me understand, how to improve the question, where to ask it else or let me know, why it is a off-topic question.
    – noreabu
    Commented Oct 21, 2018 at 16:31
  • I agree, and sent a flag to the mods. Keep in mind that most mods are volunteers, and aren't always in agreement about which questions are on-topic.
    – jpaugh
    Commented Jan 18, 2021 at 9:39
  • 1
    @jpaugh Reopened as I couldn't immediately spot why it was closed as "a problem that can't be reproduced and seemingly went away on its own". It may be difficult to reproduce, but we don't have a comment from the original user that says the issue disappeared.
    – Kusalananda
    Commented Jan 18, 2021 at 12:01
  • @Kusalananda Thanks!
    – jpaugh
    Commented Jan 19, 2021 at 19:55

1 Answer 1

1

Package pulseaudio-jack supports PulseAudio to JACK connections

If PulseAudio is not normally used with ALSA connections, ALSA Devices can be set to 'Off'

pactl set-card-profile 0 off

repeat command and change 0 to 1,2 etc. if needed for more audio devices

Better solution is to remove pulseaudio modules detecting ALSA cards:

cp /etc/pulse/default.pa ~/.config/pulse/default.pa
nano ~/.config/pulse/default.pa

find this section and add '#' at start of each line to look like this:

### Automatically load driver modules depending on the hardware available
#.ifexists module-udev-detect.so
#load-module module-udev-detect
#.else
### Use the static hardware detection module (for systems that lack udev support)
#load-module module-detect
#.endif

Save and exit nano (can use any other text editor)
Restart Pulseaudio or PC to reload new configuration

Using JACK with D-Bus will automatically load Pulseaudio Jack Sink and Pulseaudio JACK Source connections

If both JACK and PulseAudio are running, Connections can be added with:

pactl load-module module-jack-sink
pactl load-module module-jack-source connect=0

The sound output of JACK can be played back via PulseAudio with:

pactl load-module module-loopback source=jack_in

if Pulseaudio is started after JACK, the commands minus the 'pactl' can be added to end of configuration file ~/.config/pulse/default.pa

7
  • 1
    I have this setup running since a while, but i struggle to route sound from JACK to the bluetooth speaker. When i add the pulseaudio modules i have two sources and two sinks but they are connected to the internal microphone and the internal speakers.
    – noreabu
    Commented Aug 31, 2018 at 15:03
  • edited command in last post to show option to block auto-connecting of microphone to Pulseaudio JACK Source
    – nik gnomic
    Commented Aug 31, 2018 at 15:55
  • suggest you try using Patchage to see and organise connections in JACK. And Pulseaudio Volume Control (pavucontrol) to connect sound from JACK to Bluetooth Speaker
    – nik gnomic
    Commented Aug 31, 2018 at 15:57
  • Apparently, ALSA does support bluetooth, with some help from bluez. And, I know it's possible to feed an ALSA device to Jack, somehow.
    – jpaugh
    Commented Jan 18, 2021 at 9:48
  • 1
    thanks, i did not know, alsa can do bluetooth. I will give it a try
    – noreabu
    Commented Jan 19, 2021 at 10:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .