LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 01-13-2021, 11:55 PM   #1
FrizzledOldButt
Member
 
Registered: Dec 2015
Posts: 129

Rep: Reputation: Disabled
Question Firefox distorts audio playing in another program


Ubuntu 20.04 LTS, current version of Firefox, AMD A12 CPU & graphics.

When playing audio in the background starting Firefox will severely distort the sound, especially when FF is displaying images.

The problem is not present with the other browser I use, Opera.

Anyone come across similar or have a suggestion for a fix?

PS: No need to tell me to use Opera

Thanks

Last edited by FrizzledOldButt; 01-13-2021 at 11:57 PM.
 
Old 01-14-2021, 05:53 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,007

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
See what top command says before you open ff and after.

Is it possible that ff is also starting up with some audio playing?
 
Old 01-27-2021, 07:25 PM   #3
baldur_1
Member
 
Registered: Sep 2010
Posts: 275

Rep: Reputation: 28
i have had problems with ff when going to some sites so when i go to most sites it is fine but when i go to certain secure sites like yahoo or homedepot the sounds becomes distorted and static-y. i have not figured out a work-around or a fix. the only way to undo is to restart. i have filed bugs but dont get a response usually. i use fc kde spin.
 
Old 01-29-2021, 05:04 PM   #4
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Quote:
Originally Posted by FrizzledOldButt View Post
The problem is not present with the other browser I use, Opera.

Anyone come across similar or have a suggestion for a fix?
For me at least, it's related to animations. When you open a new site page, during the downloading of the animations the browser appears to use the majority of the computer's resources, mouse is jittery, other windows don't move around well etc. I find it is worst when I'm streaming music to a bluetooth Bose sound link mini, when not streaming music, barely noticeable.
But when the web page is all downloaded, animations playing, everything is good, it's during the downloading of the animations, perhaps because some start playing as soon as they are downloaded while others are still coming down the pipe.
I tried Opera in hopes it was just a FF thing, but had same issue with Opera when streaming music to the bluetooth speaker, just not as bad.
 
Old 01-30-2021, 02:36 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Brains View Post
When you open a new site page, during the downloading of the animations the browser appears to use the majority of the computer's resources, mouse is jittery, other windows don't move around well etc.
I assume you mean assembly & rendering - actual downloading takes almost no resources at all.
Quote:
Originally Posted by Brains View Post
But when the web page is all downloaded, animations playing, everything is good
Cannot confirm; I know web pages that constantly eat a substantial amount of CPU (CSS animations, without javascript).
 
Old 06-20-2021, 08:03 PM   #6
mevdschee
LQ Newbie
 
Registered: Jun 2021
Posts: 2

Rep: Reputation: Disabled
Maybe it is speech-dispatcher?

I had a crackling sound after visiting some sites with firefox on my Xubuntu 21.04 installation. It turned out to be related to the 'speech-dispatcher' software. Try running: `killall speech-dispatcher` and see whether or not it goes away. If it does you may uninstall 'speech-dispatcher' with: `sudo apt remove speech-dispatcher`.

source: https://askubuntu.com/questions/1033...edirect=1&lq=1
 
Old 07-03-2021, 09:38 AM   #7
nerdful1
LQ Newbie
 
Registered: Jun 2005
Location: greater Portland Maine
Posts: 14

Rep: Reputation: 0
I will try this exact same problem and report back. At first, it seemed to start when I had a Discord tab open, but randomly does it on anything.
 
Old 07-26-2021, 09:33 PM   #8
FrizzledOldButt
Member
 
Registered: Dec 2015
Posts: 129

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mevdschee View Post
I had a crackling sound after visiting some sites with firefox on my Xubuntu 21.04 installation. It turned out to be related to the 'speech-dispatcher' software. Try running: `killall speech-dispatcher` and see whether or not it goes away. If it does you may uninstall 'speech-dispatcher' with: `sudo apt remove speech-dispatcher`.

source: https://askubuntu.com/questions/1033...edirect=1&lq=1
OK, thanks, that fixed it.

Cheers
 
Old 07-27-2021, 01:12 AM   #9
mevdschee
LQ Newbie
 
Registered: Jun 2021
Posts: 2

Rep: Reputation: Disabled
Another less intrusive fix is:

> Go to about:config in Firefox and search for "media.webspeech.synth.enabled" and set it to "false" (double clicking on the entry should do it) then close Firefox. Don't forget to restart Firefox.

source: https://tqdev.com/2021-firefox-ubuntu-crackling-sound
 
Old 07-28-2021, 08:27 AM   #10
baldur_1
Member
 
Registered: Sep 2010
Posts: 275

Rep: Reputation: 28
awesome, thanks mevdschee. stopping media.webspeech in about:config worked on fedora. thanks for putting that up!
 
  


Reply

Tags
audio, distortion, firefox, ubuntu



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using bluetooth audio with xine apps distorts sound KDHofAvalon Linux - Software 0 03-11-2008 08:40 PM
howto disable/correct frame buffer? Distorts boot screen... BroX Debian 3 08-16-2004 03:02 AM
aterm distorts mc dthomson Linux - Software 4 05-08-2004 08:23 AM
Decoding of mp3s to wav's distorts sound php Linux - General 2 12-28-2003 01:20 PM
text distorts screen under XFree86 edgecombe Linux - Software 1 08-24-2002 02:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 10:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration