Audacity not working

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
vistad
Level 4
Level 4
Posts: 326
Joined: Tue Feb 08, 2011 9:17 am

Audacity not working

Post by vistad »

I am unable to use Audacity at all. I open mp3 file in it, press Play button and it produces khr-pr-khr-pr noise.
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
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Linux Mint Mate 21.2 64, fanless box with passive cooling
borgward
Level 6
Level 6
Posts: 1186
Joined: Mon Dec 17, 2012 10:18 pm

Re: Audacity not working

Post by borgward »

Seems like sound and video players do not work as well on 17 as they do on previous versions. Movie player runs poorly on 17. Can't move the progress slider back to earlier part.
vistad
Level 4
Level 4
Posts: 326
Joined: Tue Feb 08, 2011 9:17 am

Re: Audacity not working

Post by vistad »

I contacted Audacity team - they suggested a workaround to start Audacity from the terminal with
env PULSE_LATENCY_MSEC=30 audacity
In this case it works OK.

They also said:

"the problem probably isn't version-specific and is likely due to the interaction of pulseaudio and Audacity.
You can select the (hw) playback device - so bypassing pulse.
Because you are now trying to access the device directly through ALSA, if any other program is accessing the device then it will not be available for Audacity.
Also this denies exclusive access of a device to PulseAudio, so other applications using PulseAudio will not be able to use that device."

Does anyone know how to fix it permanently?
Linux Mint Mate 21.2 64, fanless box with passive cooling
evil-s

Re: Audacity not working

Post by evil-s »

vistad wrote:I contacted Audacity team - they suggested a workaround to start Audacity from the terminal with
env PULSE_LATENCY_MSEC=30 audacity
In this case it works OK.

They also said:

"the problem probably isn't version-specific and is likely due to the interaction of pulseaudio and Audacity.
You can select the (hw) playback device - so bypassing pulse.
Because you are now trying to access the device directly through ALSA, if any other program is accessing the device then it will not be available for Audacity.
Also this denies exclusive access of a device to PulseAudio, so other applications using PulseAudio will not be able to use that device."

Does anyone know how to fix it permanently?
Need create .bashrc in your home directory with:
export PULSE_LATENCY_MSEC=30

And relogin, all works for me :)
Hoser Rob
Level 20
Level 20
Posts: 11796
Joined: Sat Dec 15, 2012 8:57 am

Re: Audacity not working

Post by Hoser Rob »

borgward wrote:Seems like sound and video players do not work as well on 17 as they do on previous versions. Movie player runs poorly on 17. Can't move the progress slider back to earlier part.
Rubbish. Maybe your setup doesn't work in 17. Other people's may work a lot better.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
borgward
Level 6
Level 6
Posts: 1186
Joined: Mon Dec 17, 2012 10:18 pm

Re: Audacity not working

Post by borgward »

I made that post about 2 years ago. Don't use Audacity, but sound and video players work well now. They were definitely buggy at the time I made the comment.
GreyGeek

Re: Audacity not working

Post by GreyGeek »

I am running Mint 17.3 with both KDE and Cinnamon installed. Audacity works fine for me

Code: Select all

sudo apt-cache rdepends audacity
audacity
Reverse Depends:
  audacity:i386
  audacity-dbg
  audacity-data
  audacity-data
  audacity-data
  audacity:i386
  ubuntustudio-video
  ubuntustudio-audio
  tucnak2
  multimedia-mixing
  audacity-dbg
  audacity-data
  audacity-data
  audacity-data
and

Code: Select all

sudo apt-cache depends audacity 
audacity
  Depends: audacity-data
  Depends: libasound2
 |Depends: libavcodec54
  Depends: libavcodec-extra-54
  Depends: libavformat54
  Depends: libavutil52
  Depends: libc6
  Depends: libexpat1
  Depends: libflac++6
  Depends: libflac8
  Depends: libgcc1
  Depends: libglib2.0-0
  Depends: libgtk2.0-0
  Depends: libid3tag0
  Depends: libmad0
  Depends: libmp3lame0
  Depends: libogg0
  Depends: libportaudio2
  Depends: libportsmf0
  Depends: libsbsms10
  Depends: libsndfile1
  Depends: libsoundtouch0
  Depends: libsoxr0
  Depends: libstdc++6
  Depends: libtwolame0
  Depends: libvamp-hostsdk3
  Depends: libvorbis0a
  Depends: libvorbisenc2
  Depends: libvorbisfile3
  Depends: libwxbase2.8-0
  Depends: libwxgtk2.8-0
  Suggests: <ladspa-plugin>
    amb-plugins
    blepvco
    bs2b-ladspa
    csladspa
    rev-plugins
    vco-plugins
    ambdec
    autotalent
    blop
    caps
    cmt
    fil-plugins
    invada-studio-plugins-ladspa
    ladspa-sdk
    mcp-plugins
    omins
    swh-plugins
    tap-plugins
    wah-plugins
  Conflicts: audacity:i386
What does yours show?
Locked

Return to “Sound”