Error 9997 when recording through DDJ-400 (WASAPI)

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
mrcman
Posts: 7
Joined: Sun Jun 28, 2020 3:02 pm
Operating System: Windows 10

Error 9997 when recording through DDJ-400 (WASAPI)

Post by mrcman » Sun Jul 12, 2020 6:05 pm

Hi,

I'm trying to record a mix through my DDJ-400 controller, using the following settings:
-Audio host: Windows WASAPI
-Recording device: DDJ-400 (loopback)
-Recording channels: tried both stereo and mono
-Playback device: DDJ-400

I have checked the sample rate of the controller, which is 44.1 kHz and thus the same as the standard Audacity sample rate. Both are set to 24 bit as well. Still, I get the "Error opening recording device. Error code: -9997 Invalid Sample rate" error. Any help would be greatly appreciated!

Cheer,

Chris

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

Re: Error 9997 when recording through DDJ-400 (WASAPI)

Post by steve » Sun Jul 12, 2020 8:17 pm

mrcman wrote:
Sun Jul 12, 2020 6:05 pm
I'm trying to record a mix through my DDJ-400 controller
Pioneer's website says that's a controller for "rekordbox", so why do you need to use Audacity for recording?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

mrcman
Posts: 7
Joined: Sun Jun 28, 2020 3:02 pm
Operating System: Windows 10

Re: Error 9997 when recording through DDJ-400 (WASAPI)

Post by mrcman » Sun Jul 12, 2020 8:45 pm

I might have used to wrong phrasing with "mix", I'm using a script to record individual songs and would like to record through my controller, as the soundcard is better than my laptop's.

mrcman
Posts: 7
Joined: Sun Jun 28, 2020 3:02 pm
Operating System: Windows 10

Re: Error 9997 when recording through DDJ-400 (WASAPI)

Post by mrcman » Sun Jul 12, 2020 8:50 pm

As a follow-up answer, I have a fully-working script for Audacity, so I would prefer to use that instead of delving into any rekordbox scripting capabilities.

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

Re: Error 9997 when recording through DDJ-400 (WASAPI)

Post by steve » Sun Jul 12, 2020 8:51 pm

mrcman wrote:
Sun Jul 12, 2020 8:45 pm
I'm using a script to record individual songs
What sort of script?
mrcman wrote:
Sun Jul 12, 2020 8:45 pm
and would like to record through my controller, as the soundcard is better than my laptop's
So you want to use the DDJ-400 as a "sound card"? Can the DDJ-400 do that?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply