Bug 50056 - Feedback popping sound when volume sliders are moved
Summary: Feedback popping sound when volume sliders are moved
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: pavucontrol (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-17 10:32 UTC by rubin110
Modified: 2018-07-30 09:31 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
sloppily disable feedback sound (1.65 KB, patch)
2014-05-18 12:58 UTC, main.haarp
Details | Splinter Review

Description rubin110 2012-05-17 10:32:34 UTC
Debian Sid x64
Linux 3.2.0-2-amd64 #1 SMP Mon Apr 30 05:20:23 UTC 2012 x86_64 GNU/Linux
ThinkPad X220
XFCE
pavucontrol 0.99.2-1
pulseaudio 1.1-3.2
xfce4 4.8.0.3

Steps to reproduce:
1. Open pavucontrol
2. Move volume sliders back and forth on an attached sink with speakers hooked up
3. Observe

Expected results:
Volume changes with no audible feedback.

Actual results:
Volume changes and a bubble/water popping sounds constantly plays.

Notes:
The sound seems very intentional and almost mimicy of other particular operating systems that have also implemented feedback during volume change. The pop plays only when I adjust the volume of sinks, both local and networked, from pavucontrol. It doesn't play if I adjust the audio in any other way, such as through the media buttons above my keyboard, or any other volume control app.

After some searching and poking around I'm under the impression this item, if a feature, is undocumented. Regardless, it would be great if pavucontrol had an option to completely disable this feedback sound, that or the sound disappeared all together.

Thanks.
Comment 1 main.haarp 2014-05-11 20:46:27 UTC
Also an Xfce user on a Thinkpad. I'm seeing the same effect, there's a popping noise whenever the output sliders are moved. Sounds like "Pop" or "Boink", it's definitely intentional and not some weird effect of the soundcard.


I can't find any references to it in pavucontrol's sources. Either it's PA doing that, or I dunno. Weird. And annoying.
Comment 2 rubin110 2014-05-12 03:45:19 UTC
KDE 4.11.8
pulseaudio 5.0
pavucontrol 2.0

Two years later I've switched to KDE. I'm not sure when this annoyance ended but it did. Being a QA engineer, it would be nice if this bug had some indication as to what fixed it and when before being closed out.
Comment 3 Rex Dieter 2014-05-12 16:41:58 UTC
kde (kmix) supports feedback too, but (I believe) not enabled by default.  Look in it's settings for option labelled "Volume Feedback"
Comment 4 main.haarp 2014-05-17 06:04:48 UTC
Xfce has no such function, yet I still get the "pop". Furthermore, its only pavucontrol doing this, no other program or hotkey has this effect.
Comment 5 Rex Dieter 2014-05-18 12:16:45 UTC
My mention of kmix was in reply to comment #2

Otherwise, this report "Feedback popping sound when volume sliders are moved" is only noting a feature, not a bug.

Now, perhaps what you really want is an option to turn volume feedback off in pavucontrol.
Comment 6 main.haarp 2014-05-18 12:58:14 UTC
Created attachment 99272 [details] [review]
sloppily disable feedback sound

Yes, indeed, that would be my suggestion.


This made me realize that this is indeed a pavucontrol effect. I had another look and indeed found where in the sources it does this. It uses libcanberra for the feedback sound, which might explain why comment 2 reports that it's gone on KDE - does KDE use canberra?

I've attached a simple patch that simply disables the feedback sound. It's not a proper solution, of course, but might benefit someone in the interim.


One interesting bug I've encountered with the feedback sound is that on local systems, it plays back the sound every 2 seconds or so, but on a network PA server attached via module-tunnel-sink, there is no such timeout. It sounds like *popopopopopopop* whenever I change the volume on remote sinks.
Comment 7 trondsg+bugzilla+freedesktop 2014-06-04 11:29:02 UTC
This is really annoying. It would probably be a good idea if it played ONLY if there was no other sound playing.
Comment 8 Raymond 2014-06-04 22:49:32 UTC
you have to provide log when pop occurs

the volume slider in sound preference use pulseauio volume scale, the requested volume is high precision and hardware volume  usually cannot satisfy and have to use software volume which need rewind to re calculate data 

https://bugs.freedesktop.org/show_bug.cgi?id=46236#c5


(  20.557|   0.094) D: [pulseaudio] protocol-native.c: Client pavucontrol changes volume of sink alsa_output.usb-045e_Microsoft_LifeChat_LX-3000-00-LX3000.analog-stereo.
(  20.557|   0.000) D: [alsa-sink] alsa-sink.c: Requested volume: 0:   0% 1:   0%
(  20.557|   0.000) D: [alsa-sink] alsa-sink.c:            in dB: 0: -inf dB 1: -inf dB
(  20.557|   0.000) D: [alsa-sink] alsa-sink.c: Got hardware volume: 0:  34% 1:  34%
(  20.557|   0.000) D: [alsa-sink] alsa-sink.c:               in dB: 0: -28.31 dB 1: -28.31 dB
(  20.557|   0.000) D: [alsa-sink] alsa-sink.c: Calculated software volume: 0:   0% 1:   0% (accurate-enough=no)
(  20.557|   0.000) D: [alsa-sink] alsa-sink.c:                      in dB: 0: -inf dB 1: -inf dB
(  20.557|   0.000) D: [alsa-sink] sink.c: Volume going down to 0 at 519702599072
(  20.557|   0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 352800 bytes.
(  20.557|   0.000) D: [alsa-sink] alsa-sink.c: Limited to 3272 bytes.
(  20.557|   0.000) D: [alsa-sink] alsa-sink.c: before: 818
(  20.557|   0.000) D: [alsa-sink] alsa-sink.c: after: 818
(  20.557|   0.000) D: [alsa-sink] alsa-sink.c: Rewound 3272 bytes.
(  20.557|   0.000) D: [alsa-sink] sink.c: Processing rewind...
(  20.557|   0.000) D: [alsa-sink] sink.c: latency = 8982
(  20.557|   0.000) D: [alsa-sink] sink-input.c: Have to rewind 3272 bytes on render memblockq.
(  20.557|   0.000) D: [alsa-sink] sink-input.c: Have to rewind 3272 bytes on implementor.
(  20.557|   0.000) D: [alsa-sink] sink-input.c: Have to rewind 3272 bytes on render memblockq.
(  20.557|   0.000) D: [alsa-sink] source.c: Processing rewind...
(  20.557|   0.000) I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port sink:alsa_output.usb-045e_Microsoft_LifeChat_LX-3000-00-LX3000.analog-stereo:analog-output-speaker.
(  20.558|   0.000) D: [alsa-sink] sink.c: Volume change to 0 at 519702580528 was written 60 usec late
(  20.558|   0.000) D: [alsa-sink] alsa-sink.c: Written HW volume did not match with the request: 0:   0% 1:   0% (request) != 0:  34% 1:  34%
(  20.558|   0.000) D: [alsa-sink] alsa-sink.c:                                            in dB: 0: -inf dB 1: -inf dB (request) != 0: -28.31 dB 1: -28.31 dB
Comment 9 main.haarp 2014-06-15 15:36:53 UTC
(In reply to comment #8)
That's not the kind of popping sound this report is about. It's a deliberate sound effect.
Comment 10 GitLab Migration User 2018-07-30 09:31:17 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pavucontrol/issues/45.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.