Help with Audacity compiled with ASIO support

This section is now closed.
Forum rules
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.1.x version.

The final version of Audacity for Windows 98/ME is the legacy 2.0.0 version.
Locked
mwhembree
Posts: 3
Joined: Mon Sep 06, 2010 10:50 pm
Operating System: Please select

Help with Audacity compiled with ASIO support

Post by mwhembree » Tue Sep 07, 2010 2:06 am

I have compiled Audacity 1.3.13 following the compile instructions for ASIO support. This was quite an experience since I have never used Visual C++ Express 2008 before. Amazingly, I have a functional program. Unfortunately, I can't find where to enable ASIO. I expected to find it under the devices sections of Audacity Preferences, but the only host interfaces listed are MME and Windows DirectSound. I am using Windows 7 Professional, 64-bit, on a RAIN PC with Realtek high definition audio. The ASIO SDK is in C:ASIOSDK2 and the ASIOSDK_DIR environment variable is set to point there. Anyone have any ideas for me?

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

Re: Help with Audacity compiled with ASIO support

Post by steve » Tue Sep 07, 2010 2:17 am

mwhembree wrote:Amazingly, I have a functional program.
Congratulations. From what I've seen of compiling on Windows that's no mean feat.

Since it's easy to overlook little details like posting a question about Audacity 1.3.13 in the Audacity 1.2 part of the forum... ( sorry, I couldn't resist ;) but no worries, I'll move the topic to the 1.3 part of the forum) ... I presume that you have installed ASIO drivers for your sound card?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

mwhembree
Posts: 3
Joined: Mon Sep 06, 2010 10:50 pm
Operating System: Please select

Re: Help with Audacity compiled with ASIO support

Post by mwhembree » Tue Sep 07, 2010 2:37 am

I've just received this new computer and still learning what it can do. However, since RAIN computers are built for professional multi-track audio recording, I'm assuming ASIO drivers are installed. But, I'll have to follow up on that question with RAIN support to be sure. I'm just learning my way around this forum, too, so sorry about the post to the 1.2.x section. lol :oops:

mwhembree
Posts: 3
Joined: Mon Sep 06, 2010 10:50 pm
Operating System: Please select

Re: Help with Audacity compiled with ASIO support

Post by mwhembree » Tue Sep 07, 2010 3:00 am

Found a solution. I downloaded and installed ASIO4ALL, and now ASIO is one of the host interfaces available in Audacity! So, I guess ASIO drivers were not installed. Perhaps these come with some of the USB/firewire audio interfaces I have yet to purchase.

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

Re: Help with Audacity compiled with ASIO support

Post by steve » Tue Sep 07, 2010 7:21 am

Excellent, and congratulations again.
If you have time it would probably be helpful for others if you could offer any tips from what you have accomplished. (I use mostly Linux, so compiling Audacity with ASIO is not something I would do).
PS - moved this to the 1.3 board :)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

soundzentrum
Posts: 1
Joined: Wed Feb 09, 2011 2:24 pm
Operating System: Please select

Re: Help with Audacity compiled with ASIO support

Post by soundzentrum » Wed Feb 09, 2011 3:04 pm

Hi I'm new to this forum, but I think my topic best fits in here:

I also started with the aim of having Audacity with ASIO support in it.
I managed to compile it using Microsoft Visual C++2008, wxWidgets, the DirectX-SDK and the ASIO-SDK from Steinberg
and now I have a nice 1.3.12-Beta Unicode Version.

But I cannot choose ASIO in the driver section of the preferences, only MME and Windows DirectSound.

For compiling, I followed the instructions in
http://audacity.googlecode.com/svn/auda ... ompile.txt
to get it to work. The only difference was to use the full source code tarball of audacity instead of the min-source one.

I have a RME-Hammerfall Multiface (PCMCIA) running under XP-Home. I want to use up to 10 channels in parallel for recording.
The RME driver claims to have ASIO in it. Using the Kristal Tool (another recording freeware) I can choose the ASIO-RME driver, so
I'm pretty sure the support is in the driver.

After Installing the ASIO4ALL driver, I can choose from MME, Windows DirectSound or ASIO as described here in the post (thanks for that).

But still it is not possible to choose ASIO for the Hammerfall. Also, the max No. of channels I can choose is four, whereas
for a hammerfall it should be possible to use up to 18.

So where am I missing something? In the sourcecode directory
audacity-src-1.3.12-beta/lib-src/portaudio-v19/src/hostapi/asio/ASIO-README.txt

I've found:
Building the ASIO SDK on Windows
--------------------------------

To build the ASIO SDK on Windows you need to compile and link with the
following files from the ASIO SDK:

asio_sdkcommonasio.cpp
asio_sdkhostasiodrivers.cpp
asio_sdkhostpcasiolist.cpp

You may also need to adjust your include paths to support inclusion of
header files from the above directories.

The ASIO SDK depends on the following COM API functions:
CoInitialize, CoUninitialize, CoCreateInstance, CLSIDFromString
For compilation with MinGW you will need to link with -lole32, for
Borland compilers link with Import32.lib.
I thought this was managed by the environment variable ASIO_SDK. How can I compile this beforehand and tell VC++ to include it?
To build my Audacity.exe I used the Recreate Project function.

Any help appreciated.

Locked