Enabling ASIO in audacity

Hey, I’m using ableton to create music and I am trying to recored it during my show and when I am recording through audcity I am not receving any sound files at all, like the computer is not sending any sounds, although my abletone is working. I am using Focusrite 2i2 along with the ASIO driver. Now I went through the forums and I saw that I need to script due to licenses issues a way that audcity will be complete with ASIO.

To make things short, I need to get audacity to receive sounds through the ASIO driver however I tried my best to link it in the tradionals way but it seems that I need to use outside sources. If anyway know how to address that issues or if I need to used third side scripting or program to get my audcity link with the ASIO driver?
Thanks in advance.

To include ASIO with Audacity, you must compile it yourself. See here: https://github.com/audacity/audacity/blob/master/BUILDING.md

If you need it, you can get additional help compiling Audacity and ASIO support on the #windows channel on discord here: Discord

There’s a brief outline of what needs to be done: https://manual.audacityteam.org/man/asio_audio_interface.html

I’ve not yet found up to date detailed information about enabling ASIO, but the main instructions for building Audacity from the source code are here: https://github.com/audacity/audacity/blob/master/BUILDING.md

Note that building C++ applications on Windows requires several large downloads and is not for the faint-hearted.

A bit late on this I’m afraid but I can confirm that I followed the build instructions as of mid August (during the heat wave) and it went OK. I was using a completely new Windows 11 Pro 64 bit platform and can’t add anything more to the instructions referred to above without risking making things more difficult. Just follow step by step not forgetting the option required to include ASIO at the Cmake stage.

1 Like

I have gone through the steps in the Wiki and the BUILDING.md in the Github repo to compile Audacity 3.6.1 on Windows 10 with the ASIO dependency (ASIO SDK 2.3.3).

Everything worked with the build, and after compiling the project in Visual Studio 2022, the compiled artifacts were available in the Release folder.

So everything seemed successful until I tried launching Audacity from there and I got this:

image

(Unhandled unknown exception; terminating the application)

And that’s as far as I got. My compiled version of Audacity does not start.

If I launch it from within Visual Studio, there is the following line in the log:

The program ‘[12608] Audacity.exe’ has exited with code 4294967295 (0xffffffff).

Any ideas what I could be missing, or where I could find more information? (Is there perhaps a log somewhere?)

did you build the ALL_BUILD target or just audacity? You need the former.

Mmm, I was not even aware of those menu options. I just saw “Build Solution (Ctrl+Shift+B)” and did that.

Thanks for pointing that out. I cleaned and am recompiling now and will let you know how it goes!

No, sadly that did not solve it.

I still get the same result.

Weirdly, all the results I find for the error code 4294967295 seem to have something to do with WSL. But that seems a bit unlikely (though I do have WSL set up on my desktop).

I will retrace my steps and see what else I could have maybe done (wrong) in CMake - though I think there is not much that could go wrong.

Well, I went through the process again, this time in the initial CMake build dialog explicitly choosing x64 instead of leaving it blank (although that’s supposed to be the default).

I built a debug build and launched that, and get the following: