Recording with Windows 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.
Kalle_in_Sweden
Posts: 8
Joined: Mon Feb 09, 2015 8:57 pm
Operating System: Please select

Recording with Windows Wasapi

Post by Kalle_in_Sweden » Mon Feb 09, 2015 9:27 pm

Hi
I have a problem with Audacity 2.06 and recording with Windows Wasapi
I am using a M-Audio Delta AP192 sound card
The problem is that I can only select Line 1/2 ( loopback) as recording device with Wasapi.
And means that a new recording track will record the playback sound from previous recorded tracks.
If I use MME or Windows Directsound the loopback text will not come up and the playback sound will not be recorded.
I have up till now been using Audacity 2.04 and WDM_KS without this problem.
If I disable Overdub the recording will not start!
Is this a known problem with Windows Wasapi ?
BR
Kalle_in_Sweden

Kalle_in_Sweden
Posts: 8
Joined: Mon Feb 09, 2015 8:57 pm
Operating System: Please select

Re: Recording with Windows Wasapi

Post by Kalle_in_Sweden » Mon Feb 09, 2015 10:07 pm

Hi
I a think I found the explanation for this problem:
"Windows WASAPI: This host only appears on Windows Vista, Windows 7 and Windows 8.
The only recording devices that are currently provided are "loopback" devices for recording computer playback."
This makes Windows Wasapi more or less useless for normal recording work.
I will continue to use Audacity 2.4 with WDM-KS until this problem is solved..
/Kalle

DVDdoug
Forum Crew
Posts: 9416
Joined: Fri Sep 10, 2010 11:30 pm
Operating System: Windows 10

Re: Recording with Windows Wasapi

Post by DVDdoug » Mon Feb 09, 2015 10:29 pm

WASAPI only works in the loopback mode to record "what you hear" from the computer speakers.
If I use MME or Windows Directsound the loopback text will not come up and the playback sound will not be recorded.
What are you trying to do?

Normally if you want to record a new track "over" a "backing track", you'd record the new track while playing-back and monitoring the backing track.

Then, you'd mix later when you can adjust the relative levels of each track in the mix.

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

Re: Recording with Windows Wasapi

Post by steve » Mon Feb 09, 2015 10:55 pm

Kalle_in_Sweden wrote:And means that a new recording track will record the playback sound from previous recorded tracks.
Kalle_in_Sweden wrote:If I use MME or Windows Directsound the loopback text will not come up and the playback sound will not be recorded.
Do those two statements contradict each other?
You seem to be complaining that one records what is playing on the computer, and also complaining that the other one doesn't record what is playing on the computer :?
What are you trying to record?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Kalle_in_Sweden
Posts: 8
Joined: Mon Feb 09, 2015 8:57 pm
Operating System: Please select

Re: Recording with Windows Wasapi

Post by Kalle_in_Sweden » Tue Feb 10, 2015 7:13 am

Hi
When I do a multitrack recording I want hear/playback the sound from the previous recorded tracks, but I dont want to record that sound on a new track ( only recording the sound from input , mic / instrument etc).
It is only when I do the final mix of all tracks, I want to combine the sound / levels /effects from all tracks.
This is how Audacity works with MME, Directsound and WDM-KS , but not with Wasapi.
/Kalle

waxcylinder
Forum Staff
Posts: 14684
Joined: Tue Jul 31, 2007 11:03 am
Operating System: Windows 10

Re: Recording with Windows Wasapi

Post by waxcylinder » Tue Feb 10, 2015 8:29 am

It is looking like that in the next release of Audacity that we may enable the inputs other than loopback for WASAPI.

WC
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *

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

Re: Recording with Windows Wasapi

Post by steve » Tue Feb 10, 2015 9:39 am

Kalle_in_Sweden wrote:This is how Audacity works with MME, Directsound and WDM-KS , but not with Wasapi.
That's because the only part of WASAPI that is implemented in Audacity 2.0.6 is the "loopback" input. The "loopback" input is a special "virtual" input and is similar in function to the old "stereo mix" on many XP machines.

So why can't you use MME or DirectSound? What does WDM-KS in Audacity 2.0.4 give you that is not available in 2.0.6?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Recording with Windows Wasapi

Post by Gale Andrews » Tue Feb 10, 2015 5:10 pm

waxcylinder wrote:It is looking like that in the next release of Audacity that we may enable the inputs other than loopback for WASAPI.
If we do, there may be bugs in recording from real inputs under WASAPI, and loopback recording behaviour may change on some machines. That's why we have not released WASAPI non-loopback hitherto.

We do also hope to re-enable WDM-KS but definitely not for 2.1.0.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Recording with Windows Wasapi

Post by Gale Andrews » Tue Feb 10, 2015 5:15 pm

steve wrote:
Kalle_in_Sweden wrote:This is how Audacity works with MME, Directsound and WDM-KS , but not with Wasapi.
That's because the only part of WASAPI that is implemented in Audacity 2.0.6 is the "loopback" input. The "loopback" input is a special "virtual" input and is similar in function to the old "stereo mix" on many XP machines.

So why can't you use MME or DirectSound? What does WDM-KS in Audacity 2.0.4 give you that is not available in 2.0.6?
If the sound card works with WDM-KS without crashing or freezing the computer when Audacity starts, WDM-KS offers latencies almost as low as ASIO, and offers 24-bit recording.

WASAPI also offers 24-bit recording, but latencies are not so low as with WDM-KS.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Kalle_in_Sweden
Posts: 8
Joined: Mon Feb 09, 2015 8:57 pm
Operating System: Please select

Re: Recording with Windows Wasapi

Post by Kalle_in_Sweden » Tue Feb 10, 2015 8:59 pm

Hi
The funny thing is that WDM-KS (audacity 2.04) only gives a sligthly reduced "latency" compared to DirectSound (202 ms compared to 230 ms).
Audacity 2.06 gives a latency of 160 ms with MME and 230 ms with DirectSound ??
Wasapi gives a latency around 30ms
/Kalle

Post Reply