audacity error opening sound device try changing audio host, playback device and the project sample rate

Help for Audacity on GNU/Linux.
Forum rules
ImageThis forum is for Audacity on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
Esso
Posts: 5
Joined: Wed Jan 12, 2022 12:29 pm
Operating System: Linux *buntu

audacity error opening sound device try changing audio host, playback device and the project sample rate

Post by Esso » Wed Jan 12, 2022 12:32 pm

audacity error opening sound device try changing audio host, playback device and the project sample rate [linux ubuntu]

SecretCode
Posts: 54
Joined: Thu Nov 25, 2021 5:08 pm
Operating System: Linux *buntu

Re: audacity error opening sound device try changing audio host, playback device and the project sample rate

Post by SecretCode » Thu Jan 13, 2022 11:06 am

Please state:

which version of Linux you are using,
the exact three-section version number of Audacity from Help menu > About Audacity,
whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

steve
Site Admin
Posts: 83928
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: audacity error opening sound device try changing audio host, playback device and the project sample rate

Post by steve » Thu Jan 13, 2022 12:12 pm

What settings are you using in the Device Toolbar?
Learn more about Nyquist programming at audionyq.com

Esso
Posts: 5
Joined: Wed Jan 12, 2022 12:29 pm
Operating System: Linux *buntu

Re: audacity error opening sound device try changing audio host, playback device and the project sample rate

Post by Esso » Fri Jan 14, 2022 8:21 pm

SecretCode wrote:
Thu Jan 13, 2022 11:06 am
Please state:

which version of Linux you are using,
the exact three-section version number of Audacity from Help menu > About Audacity,
whether you installed your distribution's release, PPA version, or compiled Audacity from source code.
UBUNTU 20.04 LTS
Audacity 3.1.0
my distribution is the latest one

dartsim-ubuntu-ppa-focal.list
dartsim-ubuntu-ppa-focal.list.save

sudo snap install audacity

******************************************
These are playback devices list:

==============================
Default recording device number: 5
Default playback device number: 1
==============================
Device ID: 0
Device name: HDA Intel PCH: 92HD81B1X5 Analog (hw:0,0)
Host name: ALSA
Recording channels: 2
Playback channels: 0
Low Recording Latency: 0.00870748
Low Playback Latency: -1
High Recording Latency: 0.0348299
High Playback Latency: -1
Supported Rates:
==============================
Device ID: 1
Device name: HDA Intel PCH: HDMI 0 (hw:0,3)
Host name: ALSA
Recording channels: 0
Playback channels: 8
Low Recording Latency: -1
Low Playback Latency: 0.00870748
High Recording Latency: -1
High Playback Latency: 0.0348299
Supported Rates:
==============================
Device ID: 2
Device name: HDA Intel PCH: HDMI 1 (hw:0,7)
Host name: ALSA
Recording channels: 0
Playback channels: 8
Low Recording Latency: -1
Low Playback Latency: 0.00870748
High Recording Latency: -1
High Playback Latency: 0.0348299
Supported Rates:
==============================
Device ID: 3
Device name: sysdefault
Host name: ALSA
Recording channels: 128
Playback channels: 0
Low Recording Latency: 0.0213333
Low Playback Latency: -1
High Recording Latency: 0.0213333
High Playback Latency: -1
Supported Rates:
==============================
Device ID: 4
Device name: hdmi
Host name: ALSA
Recording channels: 0
Playback channels: 8
Low Recording Latency: -1
Low Playback Latency: 0.00870748
High Recording Latency: -1
High Playback Latency: 0.0348299
Supported Rates:
==============================
Device ID: 5
Device name: default
Host name: ALSA
Recording channels: 128
Playback channels: 0
Low Recording Latency: 0.0213333
Low Playback Latency: -1
High Recording Latency: 0.0213333
High Playback Latency: -1
Supported Rates:
==============================
Selected recording device: 5 - default
Selected playback device: 1 - HDA Intel PCH: HDMI 0 (hw:0,3)
Supported Rates:

The two ones work fine are [default & sysdefault] , but suddenly they disappear and the other three are left and I can't find default and sysdefault in the choices anymore!

steve
Site Admin
Posts: 83928
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: audacity error opening sound device try changing audio host, playback device and the project sample rate

Post by steve » Fri Jan 14, 2022 9:31 pm

There should be a "Pulse" (PulseAudio) option.
(Please note that the Audacity team does not make the Snap package.)
Learn more about Nyquist programming at audionyq.com

Esso
Posts: 5
Joined: Wed Jan 12, 2022 12:29 pm
Operating System: Linux *buntu

Re: audacity error opening sound device try changing audio host, playback device and the project sample rate

Post by Esso » Fri Jan 14, 2022 10:41 pm

steve wrote:
Fri Jan 14, 2022 9:31 pm
There should be a "Pulse" (PulseAudio) option.
(Please note that the Audacity team does not make the Snap package.)
What do you mean? what do you recommend?

SecretCode
Posts: 54
Joined: Thu Nov 25, 2021 5:08 pm
Operating System: Linux *buntu

Re: audacity error opening sound device try changing audio host, playback device and the project sample rate

Post by SecretCode » Sat Jan 15, 2022 10:55 am

The snap package is built by another group. The only format that Audacity provides (apart from source code) is the appimage (note this is an executable not an installer).

I haven't tried the snap version myself but I've read that people have had issues with it. It would be a good idea to uninstall it and try the appimage.

steve
Site Admin
Posts: 83928
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: audacity error opening sound device try changing audio host, playback device and the project sample rate

Post by steve » Sat Jan 15, 2022 1:03 pm

The AppImage is available from the Audacity website: https://www.audacityteam.org/download/
Learn more about Nyquist programming at audionyq.com

Esso
Posts: 5
Joined: Wed Jan 12, 2022 12:29 pm
Operating System: Linux *buntu

Re: audacity error opening sound device try changing audio host, playback device and the project sample rate

Post by Esso » Wed Jan 19, 2022 1:02 pm

SecretCode wrote:
Sat Jan 15, 2022 10:55 am
The snap package is built by another group. The only format that Audacity provides (apart from source code) is the appimage (note this is an executable not an installer).

I haven't tried the snap version myself but I've read that people have had issues with it. It would be a good idea to uninstall it and try the appimage.
So far no problems ... thank you!

Esso
Posts: 5
Joined: Wed Jan 12, 2022 12:29 pm
Operating System: Linux *buntu

Re: audacity error opening sound device try changing audio host, playback device and the project sample rate

Post by Esso » Wed Jan 19, 2022 1:04 pm

steve wrote:
Sat Jan 15, 2022 1:03 pm
The AppImage is available from the Audacity website: https://www.audacityteam.org/download/
Thank you, Steve ... it's good so far!

Post Reply