Re: [orca-list] audio ducking, good feature to have?



Hello,


Okay what I was afraid appears to be true. To provide current nice experience, speech-dispatcher keeps its streams open all the time so if ducking is configured via pulseaudio, all sounds which are configured to duck are always ducked while speech-dispatcher is running.

If you would like to test what I'm talking about then you can do the following. Close all apps that might produce sound for example web browsers, soft phones, media players etc... List all pulseaudio sink inputs and set their role to a11y. I have asked you to close all apps so you will only get speech dispatcher sink inputs when calling pacmd list-sink-inputs in the first pacmd run.

pactl list sink-inputs | | grep '#'
Then use the number you have got and run the below command as much as you do have speech-dispatcher related sink inputs.

pacmd update-sink-input-proplist <number> 'media.role=a11y'

Finally load module-role-ducking into pulseaudio by running ...
pactl load-module module-role-ducking trigger_roles=phone,a11y ducking_roles=music,video volume=35000

Now play something in VLC for example and you will see how it's muted all the time. I think this feature is usefull when you are listening to music all day long and need to duck it when watching an occassional video on youtube, when answering a voip call etc, but it is not suitable for our purpose.
To unload the module-role-ducking from pulse audio run
pacmd unload-module module-role-ducking

Greetings

Peter



On 12.05.2016 at 11:02 Luke Yelavich wrote:
On Thu, May 12, 2016 at 06:56:21PM AEST, Peter Vágner wrote:
Hello,


I haven't really tested not otherwise worked with this but what about
pulseaudio role ducking?

https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#index66h3
Yes, I am pretty sure clients can work with this in some way, I'd just
need to look at the API.

PulseAudio has the concept of roles, and there is an accessibility role. It
will be a matter of allowing clients to set the appropriate role, and then
I am sure we will then be able to say duck all audio that is not of the
accessibility role.

Luke
_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html
Log bugs and feature requests at http://bugzilla.gnome.org



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]