adding a pulse audio bluetooth sink configuration
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I'm connecting a raspberry pi 3b+ to a small bluetooth speaker (mostly thanks to http://youness.net/raspberry-pi/how-to-connect-bluetooth-headset-or-speaker-to-raspberry-pi-3 and some other resources)
raspberry pi info:
pi@rp0:~ $ uname -a
Linux rp0 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux
I'm at the point now where I'm able to reliably connect to the speaker as an audio sink, and keep the connection up... but the sound quality is HORRIBLE
as you might expect from this config:
pi@rp0:~ $ pacmd list-sinks
...
* index: 1
name: <bluez_sink.C0_7A_A5_01_0C_B6.headset_head_unit>
driver: <module-bluez5-device.c>
flags: HARDWARE HW_VOLUME_CTRL LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9030
sample spec: s16le 1ch 8000Hz
channel map: mono
Mono
...
The pulseaudio daemon config is configured to set the sample rate, format, channels, and channel-map that I want (basically the defaults, and verified as what I want from my laptop's pulseaudio config when I connect the bluetooth speaker there). Here is the config on the pi:
pi@rp0:~ $ pulseaudio --dump-conf
...
default-sample-format = s16le
default-sample-rate = 44100
alternate-sample-rate = 48000
default-sample-channels = 2
default-channel-map = front-left,front-right
...
But I can't seem to get this config to take effect reliably. Earlier in the day I was able to connect with the settings I wanted (stereo/44100hz), but now, after disconnecting and reconnecting, it has returned to the sample rate printed above (mono/8000hz), and I can't seem to retrace the set of "magical" steps I had to get the config to take effect (some sequence of pulseaudio -k
/pulseaudio -D
/reboot
/bluetoothctl ... connect
)
So, how do I create a reliable configuration profile for this device?
Thanks!
raspberry-pi raspbian pulseaudio bluetooth
add a comment |
up vote
1
down vote
favorite
I'm connecting a raspberry pi 3b+ to a small bluetooth speaker (mostly thanks to http://youness.net/raspberry-pi/how-to-connect-bluetooth-headset-or-speaker-to-raspberry-pi-3 and some other resources)
raspberry pi info:
pi@rp0:~ $ uname -a
Linux rp0 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux
I'm at the point now where I'm able to reliably connect to the speaker as an audio sink, and keep the connection up... but the sound quality is HORRIBLE
as you might expect from this config:
pi@rp0:~ $ pacmd list-sinks
...
* index: 1
name: <bluez_sink.C0_7A_A5_01_0C_B6.headset_head_unit>
driver: <module-bluez5-device.c>
flags: HARDWARE HW_VOLUME_CTRL LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9030
sample spec: s16le 1ch 8000Hz
channel map: mono
Mono
...
The pulseaudio daemon config is configured to set the sample rate, format, channels, and channel-map that I want (basically the defaults, and verified as what I want from my laptop's pulseaudio config when I connect the bluetooth speaker there). Here is the config on the pi:
pi@rp0:~ $ pulseaudio --dump-conf
...
default-sample-format = s16le
default-sample-rate = 44100
alternate-sample-rate = 48000
default-sample-channels = 2
default-channel-map = front-left,front-right
...
But I can't seem to get this config to take effect reliably. Earlier in the day I was able to connect with the settings I wanted (stereo/44100hz), but now, after disconnecting and reconnecting, it has returned to the sample rate printed above (mono/8000hz), and I can't seem to retrace the set of "magical" steps I had to get the config to take effect (some sequence of pulseaudio -k
/pulseaudio -D
/reboot
/bluetoothctl ... connect
)
So, how do I create a reliable configuration profile for this device?
Thanks!
raspberry-pi raspbian pulseaudio bluetooth
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I'm connecting a raspberry pi 3b+ to a small bluetooth speaker (mostly thanks to http://youness.net/raspberry-pi/how-to-connect-bluetooth-headset-or-speaker-to-raspberry-pi-3 and some other resources)
raspberry pi info:
pi@rp0:~ $ uname -a
Linux rp0 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux
I'm at the point now where I'm able to reliably connect to the speaker as an audio sink, and keep the connection up... but the sound quality is HORRIBLE
as you might expect from this config:
pi@rp0:~ $ pacmd list-sinks
...
* index: 1
name: <bluez_sink.C0_7A_A5_01_0C_B6.headset_head_unit>
driver: <module-bluez5-device.c>
flags: HARDWARE HW_VOLUME_CTRL LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9030
sample spec: s16le 1ch 8000Hz
channel map: mono
Mono
...
The pulseaudio daemon config is configured to set the sample rate, format, channels, and channel-map that I want (basically the defaults, and verified as what I want from my laptop's pulseaudio config when I connect the bluetooth speaker there). Here is the config on the pi:
pi@rp0:~ $ pulseaudio --dump-conf
...
default-sample-format = s16le
default-sample-rate = 44100
alternate-sample-rate = 48000
default-sample-channels = 2
default-channel-map = front-left,front-right
...
But I can't seem to get this config to take effect reliably. Earlier in the day I was able to connect with the settings I wanted (stereo/44100hz), but now, after disconnecting and reconnecting, it has returned to the sample rate printed above (mono/8000hz), and I can't seem to retrace the set of "magical" steps I had to get the config to take effect (some sequence of pulseaudio -k
/pulseaudio -D
/reboot
/bluetoothctl ... connect
)
So, how do I create a reliable configuration profile for this device?
Thanks!
raspberry-pi raspbian pulseaudio bluetooth
I'm connecting a raspberry pi 3b+ to a small bluetooth speaker (mostly thanks to http://youness.net/raspberry-pi/how-to-connect-bluetooth-headset-or-speaker-to-raspberry-pi-3 and some other resources)
raspberry pi info:
pi@rp0:~ $ uname -a
Linux rp0 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux
I'm at the point now where I'm able to reliably connect to the speaker as an audio sink, and keep the connection up... but the sound quality is HORRIBLE
as you might expect from this config:
pi@rp0:~ $ pacmd list-sinks
...
* index: 1
name: <bluez_sink.C0_7A_A5_01_0C_B6.headset_head_unit>
driver: <module-bluez5-device.c>
flags: HARDWARE HW_VOLUME_CTRL LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9030
sample spec: s16le 1ch 8000Hz
channel map: mono
Mono
...
The pulseaudio daemon config is configured to set the sample rate, format, channels, and channel-map that I want (basically the defaults, and verified as what I want from my laptop's pulseaudio config when I connect the bluetooth speaker there). Here is the config on the pi:
pi@rp0:~ $ pulseaudio --dump-conf
...
default-sample-format = s16le
default-sample-rate = 44100
alternate-sample-rate = 48000
default-sample-channels = 2
default-channel-map = front-left,front-right
...
But I can't seem to get this config to take effect reliably. Earlier in the day I was able to connect with the settings I wanted (stereo/44100hz), but now, after disconnecting and reconnecting, it has returned to the sample rate printed above (mono/8000hz), and I can't seem to retrace the set of "magical" steps I had to get the config to take effect (some sequence of pulseaudio -k
/pulseaudio -D
/reboot
/bluetoothctl ... connect
)
So, how do I create a reliable configuration profile for this device?
Thanks!
raspberry-pi raspbian pulseaudio bluetooth
raspberry-pi raspbian pulseaudio bluetooth
asked Nov 26 at 21:00
Erick J
262
262
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f484297%2fadding-a-pulse-audio-bluetooth-sink-configuration%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown