I'm running LM 20.1 XFCE and decided to try the new version of Audacity.
I removed and purged the repo version of audacity (2.3.3) and installed the flatpak (3.0.0).
I never had problems with Audacity before but the flatpak version doesn't work.
Audio playback is extremely distorted or sounds like a static burst or fart.
This happens with .wav, .mp3 and .raw files. I don't know about other formats.
It's probably flatpak related but I don't know to troubleshoot it.
[SOLVED] Audacity 3.0.0 flatpak distorted audio
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
- rattkjelke
- Level 3
- Posts: 196
- Joined: Wed Jul 13, 2011 5:55 pm
- Location: USA
[SOLVED] Audacity 3.0.0 flatpak distorted audio
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Audacity 3.0.0 flatpak distorted audio
Hi rattkjelke,
As you're using the Flatpak version, I can only make guesses, but see if this helps:
As you're using the Flatpak version, I can only make guesses, but see if this helps:
If you're experiencing glitches, skips, pops or crackling in your audio playback, it's quite possibly caused by the timer-based scheduling pulseaudio now uses. Disable timer-based scheduling this way:
Users of 18.3 and earlier versions of Mint type this in the terminal:gksudo xed /etc/pulse/default.pa
Users of 19 and later versions of Mint type this in the terminal:xed admin:///etc/pulse/default.pa
Find the line that says load-module module-udev-detect and change it to load-module module-udev-detect tsched=0
Save the file, then runpulseaudio -k
in the terminal and test your sound
- rattkjelke
- Level 3
- Posts: 196
- Joined: Wed Jul 13, 2011 5:55 pm
- Location: USA
Re: Audacity 3.0.0 flatpak distorted audio
load-module module-udev-detect tsched=0 did not fix the problem.
I should add that I have had absolutely no audio problems with any other application.
I tried the Ubuntu PPA version 2.4.2 at https://launchpad.net/~ubuntuhandbook1/ ... u/audacity and it also works perfectly.
The scratch/static audio playback only happens with Audacity 3.0.0 flatpak.
I can't find a .deb or another repo or PPA with 3.0.0 yet.
I should add that I have had absolutely no audio problems with any other application.
I tried the Ubuntu PPA version 2.4.2 at https://launchpad.net/~ubuntuhandbook1/ ... u/audacity and it also works perfectly.
The scratch/static audio playback only happens with Audacity 3.0.0 flatpak.
I can't find a .deb or another repo or PPA with 3.0.0 yet.
Re: Audacity 3.0.0 flatpak distorted audio
The only option I could think to try is building 3.0 from source. Some info here: https://www.audacityteam.org/download/linux/
Re: Audacity 3.0.0 flatpak distorted audio
I've been thinking about updating from 2.4 to 3, but haven't got around to it. (because I got confused when I tried, but that's beyond the point except to say that I am still a newbie with linux) But I did have a distortion problem in audacity with loops in 2.4 and here is how it got resolved:
https://forum.audacityteam.org/viewtopi ... 8&t=113313
The sampling rate and the project settings were somehow different and that was causing a problem. Maybe for some reason you have that problem.
https://forum.audacityteam.org/viewtopi ... 8&t=113313
The sampling rate and the project settings were somehow different and that was causing a problem. Maybe for some reason you have that problem.
- rattkjelke
- Level 3
- Posts: 196
- Joined: Wed Jul 13, 2011 5:55 pm
- Location: USA
[SOLVED] Re: Audacity 3.0.0 flatpak distorted audio
I fixed it.
I found this on their wiki page https://wiki.audacityteam.org/wiki/Linux_Issues
It says to launch Audacity from the terminal with the following command or add it to the application launcher:
So I edited the xfce menu item and added env PULSE_LATENCY_MSEC=30 to the beginning of the command.
So far it works.
I found this on their wiki page https://wiki.audacityteam.org/wiki/Linux_Issues
It says to launch Audacity from the terminal with the following command or add it to the application launcher:
Code: Select all
env PULSE_LATENCY_MSEC=30 audacity
So far it works.
- rattkjelke
- Level 3
- Posts: 196
- Joined: Wed Jul 13, 2011 5:55 pm
- Location: USA
Re: [SOLVED] Audacity 3.0.0 flatpak distorted audio
Today Audacity was updated to version 3.0.2 in the flatpak update.
It still has the problem and the fix still works.
It still has the problem and the fix still works.