Description of problem: Audacity is unable to play audio correctly with the pulseaudio backend. Version-Release number of selected component (if applicable): audacity-2.0.6-1.fc21.x86_64 How reproducible: Pulseaudio is used in its default configuration as audio backend. Steps to Reproduce: 1. Open audacity 2. 'Default' is selected for playing and recording 3. Load a WAV file (like /usr/share/sounds/alsa/Front_Left.wav ) 4. Play it Actual results: Only noise/crackles are heard and the file is played too fast. Lots of message in the console : ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred Expected results: The audio file should be played correctly at the good speed. Additional info: This workaround gives good result : env PULSE_LATENCY_MSEC=30 audacity
Doing a quick google search I found the following article: https://bbs.archlinux.org/viewtopic.php?id=185736 which links to: https://wiki.archlinux.org/index.php/PulseAudio#Setting_the_default_fragment_number_and_buffer_size_in_PulseAudio for someone who's experienced similar problems; i.e., ALSA and Pulse Audio are fighting and poor Audacity seems caught in the middle. Then please let me know if that fixes things or not.
In my case, the $env option didn't work, but adding default-fragments = 5 default-fragment-size-msec = 2 to /etc/pulse/daemon.conf did.
I confirm the same problem when choosing "pulse" in Audacity. It also got fixed when adding the above to /etc/pulse/daemon.conf. @Darryl - Is there any reason not to implement these settings as standard when installing Audacity's RPM?
Guys, this was reported against -2.0.6. Do you think this setting change is needed for audacity-2.1.0 package ?
I am running audacity-freeworld-2.0.6-1.fc21.x86_64. Is there an RPM I can test with for 2.1.0? I will gladly do so and report back.
Doh! <sheepish grin> You know those moments when you clicked SAVE and immediately afterwards realised you just made a BIG mistake! So, ahem, I uninstalled the audacity-freeworld application and installed audacity-2.1.0-1.fc21.x86_64. Sadly though, I am having the same problem still. ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred .... repeated a million times! Adding these to dameon.conf makes it work. default-fragments = 5 default-fragment-size-msec = 2 .... although, when listening to the playback, every now and then is a "CHK" sound. I don't know if it's my PC doing it, or if the settings changed in Pulse are causing it. The glitch is not in the audio file, because when replaying the section again it's not there.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
audacity-2.1.1-0.1.dea351a.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/audacity-2.1.1-0.1.dea351a.fc21
Package audacity-2.1.1-0.1.dea351a.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing audacity-2.1.1-0.1.dea351a.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-11114/audacity-2.1.1-0.1.dea351a.fc21 then log in and leave karma (feedback).
audacity-2.1.1-0.2.rc1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/audacity-2.1.1-0.2.rc1.fc22
audacity-2.1.1-0.2.rc1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/audacity-2.1.1-0.2.rc1.fc21
audacity-2.1.1-0.4.rc3.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/audacity-2.1.1-0.4.rc3.fc22
audacity-2.1.1-0.4.rc3.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/audacity-2.1.1-0.4.rc3.fc21
audacity-2.1.1-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/audacity-2.1.1-1.fc22
audacity-2.1.1-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/audacity-2.1.1-1.fc21
I had to manually restart pulseaudio in order to make things work after installing the latest package. Other than that, everything is now back on track.
audacity-2.1.1-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
audacity-2.1.1-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
Is it possible to re-open this? I'm using Audacity 2.1.1 on Fedora 22 (which was supposed to fix it?), and I appear to be seeing the exact same issue: sound files play waaay faster than they should, and there are lots of artifacts. It likes to randomly crash too which seems to be connected.
Likewise, still observing similar audio output corruption on f22.
Fedora 21 changed to end-of-life (EOL) status on 2015-12-01. Fedora 21 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.
Can you please provide the package version you are using in F23 ? rpm -q audacity ? If you haven't already tried the next version, can you test with the 2.1.2 RC1: # dnf --enablerepo=updates-testing update audacity
I think my dnf-fu isn't really up to the required task (or the new version is not available on Fedora 22): jonas@cyberman:~$ rpm -q audacity audacity-2.1.1-1.fc22.x86_64 jonas@cyberman:~$ su Password: [root@cyberman jonas]# dnf --enablerepo=updates-testing update audacity Fedora 22 - x86_64 - Test Updates 451 kB/s | 2.6 MB 00:05 Last metadata expiration check performed 0:00:02 ago on Thu Dec 3 02:24:47 2015. Dependencies resolved. Nothing to do. Complete! [root@cyberman jonas]# dnf --enablerepo=updates-testing install audacity Last metadata expiration check performed 0:00:15 ago on Thu Dec 3 02:24:47 2015. Package audacity-2.1.1-1.fc22.x86_64 is already installed, skipping. Dependencies resolved. Nothing to do. Complete! [root@cyberman jonas]# Anyway, this should show the audacity version I'm currently using. Full disclosure: I do have rpmfusion enabled, so I hope this has no involvement in this bug. A bit more details on the installed package (which looks like it originates from the regular fedora core repos): [root@cyberman jonas]# dnf info audacity Last metadata expiration check performed 2:21:12 ago on Thu Dec 3 00:04:52 2015. Installed Packages Name : audacity Arch : x86_64 Epoch : 0 Version : 2.1.1 Release : 1.fc22 Size : 17 M Repo : @System From repo : updates Summary : Multitrack audio editor URL : http://audacity.sourceforge.net License : GPLv2 Description : Audacity is a cross-platform multitrack audio editor. It allows : you to record sounds directly or to import files in various : formats. It features a few simple effects, all of the editing : features you should need, and unlimited undo. The GUI was built : with wxWidgets and the audio I/O supports PulseAudio, OSS and ALSA : under Linux. [root@cyberman jonas]#
audacity-2.1.2-0.7.rc1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-4320723725
(In reply to Jonas Thiem from comment #23) > audacity-2.1.1-1.fc22.x86_64 OK, I hadn't built the Release Candidate version for F22, but it is now, and I created a testing-update which wont become available for some days, using my previous-updates testing command. Right now you could test by downloading the rpm and -manual.rpm for your architecture from the build (and dnf install each): http://koji.fedoraproject.org/koji/buildinfo?buildID=703016
Same problem as before. With a pulseaudio backend, playback occurs at nearly 100x the speed, all noise and crackle.
audacity-2.1.2-0.7.rc1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update audacity' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-4320723725
audacity-2.1.2-0.7.rc1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.