Dual mono bluetooth speakers in stereo mode #1693
sail81
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
would it be possible to add a feature enabling two mono bluetooth speakers and route channels such that you get stereo? - I have two JBL flip 5 and I can connect them both successfully under "Networks/Bluetooth". Under "Player" one of them shows up and it plays music out of the box. However, I was not able to set the second speaker up and route the stereo channels to either of them. I was trying to modify asound.conf. But since raudio changes this file dynamically, this is obviously not a way to go.
"Networks/Bluetooth":
bluetoothctl info 28:FA:19:E0:BB:98
Device 28:FA:19:E0:BB:98 (public)
Name: JBL Flip 5 L
Alias: JBL Flip 5 L
Class: 0x00240414 (2360340)
Icon: audio-card
Paired: yes
Bonded: yes
Trusted: yes
Blocked: no
Connected: yes
LegacyPairing: no
bluetoothctl info D8:37:3B:AB:3B:40
Device D8:37:3B:AB:3B:40 (public)
Name: JBL Flip 5 R
Alias: JBL Flip 5 R
Class: 0x00240414 (2360340)
Icon: audio-card
Paired: yes
Bonded: yes
Trusted: yes
Blocked: no
Connected: yes
LegacyPairing: no
"Player/Output" :
amixer -D bluealsa scontrols
Simple mixer control 'JBL Flip 5 L A2DP',0
cat /proc/asound/cards | grep ]
0 [b1 ]: bcm2835_hdmi - bcm2835 HDMI 1
1 [Headphones ]: bcm2835_headpho - bcm2835 Headphones
aplay -l | grep ^card
card 0: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
card 0: b1 [bcm2835 HDMI 1], device 1: bcm2835 HDMI 1 [bcm2835 HDMI 1]
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
amixer scontrols
Simple mixer control 'PCM',0
cat /etc/asound.conf
defaults.pcm.card 1
defaults.ctl.card 1
pcm.bluealsa {
type plug
slave.pcm {
type bluealsa
device 00:00:00:00:00:00
profile "a2dp"
}
}
I tried this asound.conf but were not able to test it:
defaults.pcm.card 2
defaults.ctl.card 2
pcm.flip5_L {
type plug
slave.pcm {
type bluealsa
device 28:FA:19:E0:BB:98
profile "a2dp"
}
}
pcm.flip5_R {
type plug
slave.pcm {
type bluealsa
device D8:37:3B:AB:3B:40
profile "a2dp"
}
}
pcm.multi {
type multi;
slaves.a.pcm "flip5_L";
slaves.a.channels 2;
slaves.b.pcm "flip5_R";
slaves.b.channels 2;
bindings.0.slave a;
bindings.0.channel 0;
bindings.1.slave a;
bindings.1.channel 0;
bindings.2.slave b;
bindings.2.channel 1;
bindings.3.slave b;
bindings.3.channel 1;
}
ctl.multi {
type hw;
card 2;
}
Beta Was this translation helpful? Give feedback.
All reactions