Error Code 9997

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.
Post Reply
olaftheglorious
Posts: 2
Joined: Sun Mar 29, 2020 5:06 pm
Operating System: Windows 10

Error Code 9997

Post by olaftheglorious » Sun Mar 29, 2020 5:19 pm

Quickly, I'd like to point out, yes, I've allowed access to the mic in windows privacy settings. That does not fix this problem.
Using Audacity 2.3.3
I'm using a Rode NT usb mic. It worked fine on my old computer in Audacity, and I'm currently trying to set it up on a brand new laptop.

I can record in a first track absolutely fine, but when I start trying to record a second track, (with exactly the same sample rate, Stereo, 44100hz, 32-bit float) I get this error message:

Error opening recording device.
Error code: -9997 Invalid sample rate.

Any suggestions?

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

Re: Error Code 9997

Post by steve » Sun Mar 29, 2020 6:37 pm

In the Windows Sound settings, set both the recording device and the playback device that you are using to a sample rate of 44100, then start (or restart) Audacity. (Check that the settings in the Windows Sound settings stick - sometimes Windows reverts them to different settings).
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

aud409
Posts: 23
Joined: Sat Mar 28, 2020 8:43 am
Operating System: Windows 10

Re: Error Code 9997

Post by aud409 » Mon Mar 30, 2020 3:53 am

I’m a beginner myself but let me put my two cents in as I am Also trying to navigate issues (Windows 10)

Correct,as you stated you must allow microphone access In privacy settings
second, check the recording settings Within Windows (my driver is Realtek)
on my particular laptop there is a record setting for microphone and stereo mix
Unless you’re familiar with zipping in and out of menus these settings can be buried and tricky to find the first time.
Additionally my laptop only has one port that’s a combination microphone and headset which I am finding to be problematic As an interface with audacity
As per recommendations I may consider an external device.

olaftheglorious
Posts: 2
Joined: Sun Mar 29, 2020 5:06 pm
Operating System: Windows 10

Re: Error Code 9997

Post by olaftheglorious » Mon Mar 30, 2020 8:30 am

Hi thanks, so I've located this setting and it does appear to be the problem, but the option is greyed out, so I'm unable to change it. Any idea how to get round this?

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

Re: Error Code 9997

Post by steve » Mon Mar 30, 2020 8:20 pm

olaftheglorious wrote:
Mon Mar 30, 2020 8:30 am
Hi thanks, so I've located this setting and it does appear to be the problem, but the option is greyed out, so I'm unable to change it. Any idea how to get round this?
Unfortunately, Microsoft keep making it more difficult to make these settings. I think the information on this page is up to date: https://manual.audacityteam.org/man/win ... trols.html
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply