Compiling Audacity with Asio

Building and customizing Audacity from the source code.

If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like

Compiling Audacity with Asio

Permanent link to this post Posted by colliedug » Mon Oct 05, 2009 1:08 pm

Is there a simple step by step procedure in plain English to enable Audacity to work with Asio?

One that doesn't need in depth knowledge of programming - I've tried following the existing instructions - a bit daunting !!!

Help please, Colin
colliedug
 
Posts: 4
Joined: Mon Oct 05, 2009 1:03 pm
Operating System: Please select

Re: Compiling Audacity with Asio

Permanent link to this post Posted by steve » Mon Oct 05, 2009 4:51 pm

colliedug wrote:Is there a simple step by step procedure in plain English to enable Audacity to work with Asio?

One that doesn't need in depth knowledge of programming - I've tried following the existing instructions - a bit daunting !!!


I think the instructions are about as "simple" as they can be. I think that Microsoft expect there customers to buy ready made meals and not to cook for themselves. Have you though of trying Linux? Any particular reason why you want/need ASIO support?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Site Admin
 
Posts: 45363
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Compiling Audacity with Asio

Permanent link to this post Posted by colliedug » Mon Oct 05, 2009 6:46 pm

"SIMPLE?" This is the the preliminary info about the Audacity source code!!!
Complete gobbledygook to me - it assumes so much prior knowledge which I don't have.
I'm a musician - not a programmer!

***********************************************************************************************************

Audacity 1.3.9 release (source tarball) (.tar.bz2 file, 6.4 MB) This is our standard source tarball. It assumes your system has the necessary dependencies (libraries) installed (see below).

Optional Downloads

*

Audacity 1.3.9 release (source tarball) (.tar.bz2 file, 17.4 MB) This is a full source tarball, useful for Windows and Mac machines which may lack the necessary dependencies to compile Audacity.
*

Latest CVS development code, incorporating changes since the release tarball.
*

If you have trouble with your download, or need an older version of Audacity, try our alternate download links:
o Sourceforge (older versions can be viewed by clicking on the appropriate package)
o Google Code (click on the headings to sort the list)

System Requirements

* Audacity runs best with at least 64 MB RAM and a 300 MHz processor. Please review our operating system support for Windows, Mac or Linux.

How to Compile Audacity
Dependencies

The wxWidgets library is required. Audacity 1.3.9 requires wxGTK 2.8.10.

Installation of the following libraries is optional - they are included in Audacity obtained from CVS.

* libmad
* libsndfile
* Ogg Vorbis

If you install libraries using a package management system like Apt or RPM, you need to install the "dev" (development) packages for each library.
Compilation

To compile Audacity, run the following command in the Audacity source directory:

./configure && make

You can type ./configure --help to see a list of compilation options. After Audacity is compiled, run make install as root to install it.
colliedug
 
Posts: 4
Joined: Mon Oct 05, 2009 1:03 pm
Operating System: Please select

Re: Compiling Audacity with Asio

Permanent link to this post Posted by steve » Mon Oct 05, 2009 7:20 pm

colliedug wrote:"SIMPLE?" This is the the preliminary info about the Audacity source code!!!
Complete gobbledygook to me - it assumes so much prior knowledge which I don't have.
I'm a musician - not a programmer!

I know exactly what you mean - I'm a musician also - and that's why I've only once tried compiling on Windows (and gave up).
I could probably walk you through building from source in Linux, (which is very much easier because Linux provides the necessary tools for the job), but you'll need someone else for Windows (sorry :( ).
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Site Admin
 
Posts: 45363
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Compiling Audacity with Asio

Permanent link to this post Posted by jademan » Mon Oct 05, 2009 10:04 pm

colliedug wrote:Is there a simple step by step procedure in plain English to enable Audacity to work with Asio?

One that doesn't need in depth knowledge of programming - I've tried following the existing instructions - a bit daunting !!!

Help please, Colin


Colin, You are not the first person to make this request. Perhaps you could post what steps you did take, and exactly where you got into trouble. Others have been successful at this and perhaps they could post some help.

Steve, where did you give up? And don't tell me it was trying to find the start button. :)
jademan
 
Posts: 115
Joined: Fri Jul 17, 2009 10:11 pm
Operating System: Please select

Re: Compiling Audacity with Asio

Permanent link to this post Posted by colliedug » Mon Oct 05, 2009 10:41 pm

Hi jademan,

I got into trouble trying to understand the instructions in my previous post - it just reads like double dutch to me :)

I'd like to try compiling it but a lot of prior knowledge is assumed in these instructions - knowledge I don't have.

Colin
colliedug
 
Posts: 4
Joined: Mon Oct 05, 2009 1:03 pm
Operating System: Please select

Re: Compiling Audacity with Asio

Permanent link to this post Posted by steve » Mon Oct 05, 2009 11:31 pm

After I'd gone through all the rigmarole of registering with Steinberg so that I could download the ASIO SDK.
I then tried to install TortoiseCVS but couldn't get it to work,
so I went to Sourceforge and downloaded the Audacity source code from there.

Then I saw that I needed to install Visual Studio Express and Microsoft SDK
and .NET Framework 3 Runtime
and Visual Studio Express Editions 2005 Service Pack 1
and then I would need to build wxWidgets from the source code
and "set the environment variable"... :?
and then I still hadn't started to build Audacity
and still had no idea what I was supposed to do with the ASIO SDK that I'd downloaded.

I think that it was about that point that I gave up and switched to Linux.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Site Admin
 
Posts: 45363
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Compiling Audacity with Asio

Permanent link to this post Posted by colliedug » Tue Oct 06, 2009 10:47 am

stevethefiddle wrote:After I'd gone through all the rigmarole of registering with Steinberg so that I could download the ASIO SDK.
I then tried to install TortoiseCVS but couldn't get it to work,
so I went to Sourceforge and downloaded the Audacity source code from there.

Then I saw that I needed to install Visual Studio Express and Microsoft SDK
and .NET Framework 3 Runtime
and Visual Studio Express Editions 2005 Service Pack 1
and then I would need to build wxWidgets from the source code
and "set the environment variable"... :?
and then I still hadn't started to build Audacity
and still had no idea what I was supposed to do with the ASIO SDK that I'd downloaded.

I think that it was about that point that I gave up and switched to Linux.


Hence my initial question which still stands :)

Or do I need a degree in rocket science to do this?

Colin
colliedug
 
Posts: 4
Joined: Mon Oct 05, 2009 1:03 pm
Operating System: Please select

Re: Compiling Audacity with Asio

Permanent link to this post Posted by derekja » Sun Nov 01, 2009 3:54 am

So I just got this to work. The primary thing I noticed that wasn't apparent from the instructions was that you must install the directX SDK even if all you want is ASIO. Also, make sure you've the ASIO SDK and not the VST SDK which is now more prominently displayed on the ASIO SDKs page.

Here were my steps on a fairly clean Win 7 install:

installed VS2008 and all updates
installed all DELL audio drivers, beta Win7 driver for my M-Audio NRV-10 on the firewire port
installed LAME
installed FFMPEG
installed libogg, libsndfile, madplay
installed ASIO SDK (actually just unzipped and copied the directory)
got audacity 1.3.9 source tarball
built wxWidgets, copying the two accessibility-related changes from the audacity source
set WXWIN and ASIOSDK_DIR env variables
built audacity
copied wxWidgets dll's to build directory
ran and saw multi-channel inputs on the NRV-10

Then there was much smiling. I'm in love with this M-Audio mixer now that it syncs up with Audacity.

cheers,

--Derek
derekja
 
Posts: 3
Joined: Sun Nov 01, 2009 3:36 am
Operating System: Please select

Re: Compiling Audacity with Asio

Permanent link to this post Posted by jademan » Sun Nov 01, 2009 12:43 pm

derekja,

Thanks for your post. Glad you go this to work. :)
jademan
 
Posts: 115
Joined: Fri Jul 17, 2009 10:11 pm
Operating System: Please select

Next

Return to Compiling Audacity



Who is online

Users browsing this forum: No registered users and 2 guests