Error opening sound device

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at 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.
55barfly
Posts: 11
Joined: Wed Jul 10, 2019 2:44 pm
Operating System: Windows 10

Error opening sound device

Post by 55barfly » Wed Jul 10, 2019 3:00 pm

Problem encountered on Audacity version 2.1.2 on Windows 10. Downloaded and re-installed today from sourceforge; it appears now to be version 2.1.0. Has the same problem.

I've been using Audacity for years, to record from the computer sound card amongst other things. Always very successful until yesterday when I received the following error.

Error while opening sound device. Please check the recording device settings and the project sample rate.

The sample rate is 44100. I'm not sure what else to check.

Any suggestions please?

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

Re: Error opening sound device

Post by steve » Wed Jul 10, 2019 3:08 pm

Audacity's website is here: https://www.audacityteam.org/
The current version of Audacity is 2.3.2, and is available via this page on the Audacity website: https://www.audacityteam.org/download/windows/

55barfly wrote:
Wed Jul 10, 2019 3:00 pm
Error while opening sound device. Please check the recording device settings and the project sample rate.
Was that when you were trying to record, or trying to play?
If recording, were you recording into an empty project, or did Audacity already contain other audio tracks?
What recording / playback devices are you using?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

55barfly
Posts: 11
Joined: Wed Jul 10, 2019 2:44 pm
Operating System: Windows 10

Re: Error opening sound device

Post by 55barfly » Wed Jul 10, 2019 3:56 pm

Thank you Steve. I've installed v2.3.2 with the same problem, though the error message is more specific.

"Error opening recording device. Error code 9997 Invalid sample rate."

I also get transport bar type icons (play button, record button etc.) and/or edit bar icons superimposed over the drop down menus for audio source, playback, etc. which don't go away when I click outside the area.

I am trying to record into an empty project using a stereo track.

The record/play interface is a Focusrite Scarlett 2i2 which I've had for 5-6 years and used successfully many times before.

I'm using the Windows WASAPI protocol, and I was using the Focusrite loopback option in 2.1.2, but 2.3.2 won't allow me to drop the menu.

The only thing I can think of to have changed since I last used Audacity successfully is that I have had to replace the original plain USB cable, which failed, with another USB cable which has one of those bead-like things at one end which I think is to eliminate noise. That was several days ago since when I have successfully played back through the Focusrite but haven't recorded anything.

Thanks again for your help.

John

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

Re: Error opening sound device

Post by steve » Wed Jul 10, 2019 4:23 pm

55barfly wrote:
Wed Jul 10, 2019 3:56 pm
I also get transport bar type icons (play button, record button etc.) and/or edit bar icons superimposed over the drop down menus for audio source, playback, etc. which don't go away when I click outside the area.
I don't recognise that description. Could you post a screenshot of it?

55barfly wrote:
Wed Jul 10, 2019 3:56 pm
I'm using the Windows WASAPI
Try setting the "host" to MME in the device toolbar.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

55barfly
Posts: 11
Joined: Wed Jul 10, 2019 2:44 pm
Operating System: Windows 10

Re: Error opening sound device

Post by 55barfly » Wed Jul 10, 2019 4:47 pm

Thanks Steve. Image of the Audacity 2.3.2 UI with icons overlying the toolbars is attached.

The underlying toolbars don't function once they appear, which is immediate upon hovering or clicking in the toolbar area, so I can't change the host or anything else.

Also, almost all the toolbars are selected in the View menu but few of them appear, and I have the impression that what is visible changes under some circumstances beneath the icons, which also change. At the start I see images of the Transport toolbar icons, but any hovering or clicking them produces a selection of Edit toolbar button images. They are images - they aren't selectable either.
Attachments
Audacity Capture.JPG
Audacity Capture.JPG (52.5 KiB) Viewed 486 times

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

Re: Error opening sound device

Post by steve » Wed Jul 10, 2019 4:56 pm

55barfly wrote:
Wed Jul 10, 2019 4:47 pm
Thanks Steve. Image of the Audacity 2.3.2 UI with icons overlying the toolbars is attached.
Ooh, that's not right.

Try resetting the toolbars to see if that fixes it: "View menu > Toolbars > Reset Toolbars"
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

55barfly
Posts: 11
Joined: Wed Jul 10, 2019 2:44 pm
Operating System: Windows 10

Re: Error opening sound device

Post by 55barfly » Wed Jul 10, 2019 5:08 pm

Ok! That has produced a range of toolbars, and the record button works in so much as the track begins to run but flatlines.

I notice there is no longer a loopback option in the Recording Device and Playback Device menu choices but it has defaulted to the single Focusrite option in both. Am now using MME as the host although the WASAPI option is still there.
Attachments
Audacity Capture 2.JPG
Audacity Capture 2.JPG (104.45 KiB) Viewed 485 times

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

Re: Error opening sound device

Post by steve » Wed Jul 10, 2019 5:12 pm

55barfly wrote:
Wed Jul 10, 2019 5:08 pm
Ok! That has produced a range of toolbars
That looks better :)
That's one problem down...

55barfly wrote:
Wed Jul 10, 2019 5:08 pm
I notice there is no longer a loopback option in the Recording Device and Playback Device menu choices
The loopback option is only for recording sounds that are playing on the computer. Is that what you are trying to do?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

55barfly
Posts: 11
Joined: Wed Jul 10, 2019 2:44 pm
Operating System: Windows 10

Re: Error opening sound device

Post by 55barfly » Wed Jul 10, 2019 5:43 pm

Yes, I'm trying to record the soundcard output. In this case it was a radio news broadcast, but normally I'm recording from music notation software to provide an audio file to match the notation.

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

Re: Error opening sound device

Post by steve » Wed Jul 10, 2019 6:08 pm

55barfly wrote:
Wed Jul 10, 2019 5:43 pm
In this case it was a radio news broadcast
Played through your web browser, or some other application?
What do you normally use as the playback device? (how do you hear the radio news broadcast?)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply