[Solved] Trouble compiling Audacity from SVN with ASIO

Building and customizing Audacity from the source code.
Forum rules
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
J,R,D, Ltd
Posts: 53
Joined: Mon Dec 27, 2010 6:31 am
Operating System: Please select

Re: Having alot of trouble compiling Audacity from SVN

Post by J,R,D, Ltd » Tue Mar 08, 2011 10:32 pm

Ok, thanks. I defined the variable and recompiled the Unicode Release and it appears to have worked.
========== Build: 4 succeeded, 0 failed, 25 up-to-date, 2 skipped ==========

Is there a way to check whether Audacity has ASIO support or not?

I do not have a soundcard with ASIO support as far as I know. I wanted to build Audacity with ASIO support before spending that much money.

Thank you so much for helping me through this. :)

Edgar
Forum Crew
Posts: 2043
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 10

Re: Having alot of trouble compiling Audacity from SVN

Post by Edgar » Wed Mar 09, 2011 6:17 pm

J,R,D, Ltd wrote: Is there a way to check whether Audacity has ASIO support or not?

I do not have a soundcard with ASIO support as far as I know.
I cannot be sure about checking the ASIO support but look at:
asioAudacity.jpg
asioAudacity.jpg (165.85 KiB) Viewed 6752 times
On your Device toolbar (if it is not on you may turn it on with menu View > Toolbars) try all the options--something may refer to ASIO. Next, from the menu pick Help > Audio Device Info... something there may refer to ASIO. Penultimately, just before you quit, from the menu pick Help > Show Log... something there may refer to ASIO. Finally, you could try installing ASIO4All--it might show up as an ASIO device (it does on my system).

I have no recommendations on sound cards, try http://forum.audacityteam.org/viewtopic.php?f=27&t=9477 and http://forum.audacityteam.org/viewtopic ... 27&t=38626 but take all there with a grain of salt! What do you wish to accomplish with Audacity, ASIO and a sound card? What is your experience level as a sound tech/engineer? Do you already have audio gear like mixers, compressor/expander/limiters etc. which you might want to integrate into the solution?

J,R,D, Ltd
Posts: 53
Joined: Mon Dec 27, 2010 6:31 am
Operating System: Please select

Re: Having alot of trouble compiling Audacity from SVN

Post by J,R,D, Ltd » Thu Mar 10, 2011 4:25 am

I don't see ASIO in any of those places in Audacity.

I installed ASIO4All but it does not show up under recording devices.
recordingdevices.PNG
recordingdevices.PNG (16.91 KiB) Viewed 6743 times
Should ASIO4All be visible in device manager under "sound, video and game controllers"? It isn't.

Thanks for the links, I've been to them a few times.
What do you wish to accomplish with Audacity, ASIO and a sound card?
I want to record 8-16 channels for the band at my church. A device with a USB interface would be preferred but a PCI device can also be used.
What is your experience level as a sound tech/engineer?
Well up until October I just used Audacity for light audio editing or making little sound effects but now I use it every week for my church recording and editing. I have always loved audio equipment but I never had any experience on a real soundboard till October. I guess my experience level could be classified as beginner to intermediate but I learn fast.
Do you already have audio gear like mixers, compressor/expander/limiters etc. which you might want to integrate into the solution?
Yes, we have a mixer, an MG32/14FX. No compressors, expanders, or limiters that I know of.

Edgar
Forum Crew
Posts: 2043
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 10

Re: Having alot of trouble compiling Audacity from SVN

Post by Edgar » Thu Mar 10, 2011 4:51 pm

J,R,D, Ltd wrote:I don't see ASIO in any of those places in Audacity.
I installed ASIO4All but it does not show up under recording devices.
Should ASIO4All be visible in device manager under "sound, video and game controllers"? It isn't.
This does not look like you have ASIO enabled. What about the Device Info and Log? You can use <CTRL +c> in either to copy the text and paste here.

J,R,D, Ltd wrote:
What do you wish to accomplish with Audacity, ASIO and a sound card?
I want to record 8-16 channels for the band at my church.
You are really jumping in the deep end, but more power to you! For what it's worth, most any 8+ channel sound "card" (most likely going to be an external pod) will come with pro software much better suited to this than Audacity. Audacity is not a "real time" solution for mixing a live show, so you would need to do some fancy (read expensive) splitting of the mic feeds--one leg into the mixer and one into the computer. You will also need lots of horsepower and storage on your computer!

You might try recording the mixer's stereo output (there are some tricks you can use here to get either a "dry" or "house" mix but without seeing your setup I cannot be more specific). You would not be able to do channel-by-channel editing but I use technique all the time when doing "live albums". For studio recordings a pod would be good.

This post is going way off topic! If you want, open a new thread on one of the other forums of this board to discuss your needs in re. the church band! Very few others read/reply on this forum.

J,R,D, Ltd
Posts: 53
Joined: Mon Dec 27, 2010 6:31 am
Operating System: Please select

Re: Having alot of trouble compiling Audacity from SVN

Post by J,R,D, Ltd » Fri Mar 11, 2011 4:07 am

Edgar wrote:This does not look like you have ASIO enabled. What about the Device Info and Log? You can use <CTRL +c> in either to copy the text and paste here.
Audio Device Info wrote:==============================
Default capture device number: 1
Default playback device number: 3
==============================
Device ID: 0
Device name: Microsoft Sound Mapper - Input
Host name: Windows DirectSound
Input channels: 2
Output channels: 0
Low Input Latency: 0.200000
Low Output Latency: 0.200000
High Input Latency: 0.400000
High Output Latency: 0.400000
Supported Rates:
==============================
Device ID: 1
Device name: SoundMAX Digital Audio
Host name: Windows DirectSound
Input channels: 2
Output channels: 0
Low Input Latency: 0.200000
Low Output Latency: 0.200000
High Input Latency: 0.400000
High Output Latency: 0.400000
Supported Rates:
==============================
Device ID: 2
Device name: Microsoft Sound Mapper - Output
Host name: Windows DirectSound
Input channels: 0
Output channels: 2
Low Input Latency: 0.200000
Low Output Latency: 0.200000
High Input Latency: 0.400000
High Output Latency: 0.400000
Supported Rates:
8000
9600
11025
12000
15000
16000
22050
24000
32000
44100
48000
88200
96000
192000
==============================
Device ID: 3
Device name: SoundMAX Digital Audio
Host name: Windows DirectSound
Input channels: 0
Output channels: 2
Low Input Latency: 0.200000
Low Output Latency: 0.200000
High Input Latency: 0.400000
High Output Latency: 0.400000
Supported Rates:
8000
9600
11025
12000
15000
16000
22050
24000
32000
44100
48000
88200
96000
192000
==============================
Device ID: 4
Device name: Primary Sound Capture Driver
Host name: Windows DirectSound
Input channels: 2
Output channels: 0
Low Input Latency: 0.000000
Low Output Latency: 0.000000
High Input Latency: 0.000000
High Output Latency: 0.000000
Supported Rates:
==============================
Device ID: 5
Device name: SoundMAX Digital Audio
Host name: Windows DirectSound
Input channels: 2
Output channels: 0
Low Input Latency: 0.000000
Low Output Latency: 0.000000
High Input Latency: 0.000000
High Output Latency: 0.000000
Supported Rates:
==============================
Device ID: 6
Device name: Primary Sound Driver
Host name: Windows DirectSound
Input channels: 0
Output channels: 2
Low Input Latency: 0.000000
Low Output Latency: 0.000000
High Input Latency: 0.000000
High Output Latency: 0.000000
Supported Rates:
8000
9600
11025
12000
15000
16000
22050
24000
32000
44100
48000
88200
96000
192000
==============================
Device ID: 7
Device name: SoundMAX Digital Audio
Host name: Windows DirectSound
Input channels: 0
Output channels: 2
Low Input Latency: 0.000000
Low Output Latency: 0.000000
High Input Latency: 0.000000
High Output Latency: 0.000000
Supported Rates:
8000
9600
11025
12000
15000
16000
22050
24000
32000
44100
48000
88200
96000
192000
==============================
Selected capture device: 5 - SoundMAX Digital Audio
Selected playback device: 7 - SoundMAX Digital Audio
Supported Rates:
8000
9600
11025
12000
15000
16000
22050
24000
32000
44100
48000
88200
96000
192000
==============================
Available mixers:
==============================
Available capture sources:
0 - CD Player
1 - Microphone
2 - Line In
3 - Phone
4 - Mono Out
5 - Wave Out Mix
==============================
Available playback volumes:
0 - Wave
1 - SW Synth
2 - Bass Boost
3 - Treble Boost
4 - CD Player
5 - Microphone
6 - Line In
7 - Phone
8 - Mono Out
9 - Render
==============================
Capture volume is native
Playback volume is native
Audacity Log wrote:19:31:32: Error: The module E:Building_AudacityAudacity SVNwinUnicode Releasemodulesmod-script-pipe.dll is designed to work with Audacity version 1.3.10-alpha-Mar 4 2011; it will not be loaded.
Edgar wrote:
J,R,D, Ltd wrote:
What do you wish to accomplish with Audacity, ASIO and a sound card?
I want to record 8-16 channels for the band at my church.
You are really jumping in the deep end, but more power to you! For what it's worth, most any 8+ channel sound "card" (most likely going to be an external pod) will come with pro software much better suited to this than Audacity. Audacity is not a "real time" solution for mixing a live show, so you would need to do some fancy (read expensive) splitting of the mic feeds--one leg into the mixer and one into the computer. You will also need lots of horsepower and storage on your computer!

You might try recording the mixer's stereo output (there are some tricks you can use here to get either a "dry" or "house" mix but without seeing your setup I cannot be more specific). You would not be able to do channel-by-channel editing but I use technique all the time when doing "live albums". For studio recordings a pod would be good.

This post is going way off topic! If you want, open a new thread on one of the other forums of this board to discuss your needs in re. the church band! Very few others read/reply on this forum.
Well, I like challenges, especially when it has to do with electronics.

I figured out a way to connect my computer between the mics and the mixer but it would require me making some custom cables.(Which isn't a problem for me) As long as I can edit the tracks in Audacity I don't have a problem with using other software to do the actual recording as long as it is stable.

Your right, this is getting off-topic, I guess this would go best under Recording Equipment, or Techniques?

Edgar
Forum Crew
Posts: 2043
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 10

Re: Having alot of trouble compiling Audacity from SVN

Post by Edgar » Fri Mar 11, 2011 4:42 pm

J,R,D, Ltd wrote:
Edgar wrote:This does not look like you have ASIO enabled.
Audio Device Info wrote:==============================
Default capture device number: 1
Default playback device number: 3
==============================
Device ID: 0
Device name: Microsoft Sound Mapper - Input
Host name: Windows DirectSound
Input channels: 2
Output channels: 0
Low Input Latency: 0.200000
Low Output Latency: 0.200000
High Input Latency: 0.400000
High Output Latency: 0.400000
Supported Rates:
==============================
Device ID: 1
Device name: SoundMAX Digital Audio
Host name: Windows DirectSound
Input channels: 2
Output channels: 0
Low Input Latency: 0.200000
Low Output Latency: 0.200000
High Input Latency: 0.400000
High Output Latency: 0.400000
Supported Rates:[...]
Audacity Log wrote:19:31:32: Error: The module E:Building_AudacityAudacity SVNwinUnicode Releasemodulesmod-script-pipe.dll is designed to work with Audacity version 1.3.10-alpha-Mar 4 2011; it will not be loaded.
This does not look like ASIO support is compiled in; without having an ASIO enabled device installed Audacity might me smart enough to ignore ASIO--I just don't know. We have gotten beyond my knowledge level!

As for the mod-script-pipe.dll error--ignore it; it is an experimental feature which has languished. The Log I want is from starting Audacity and then choosing menu Help > Show Log...; mine looks like this (this not from an SVN HEAD build):

Code: Select all

08:34:59: Trying to load FFmpeg libraries...
08:34:59: Trying to load FFmpeg libraries from default path, 'D:audioAudacityFFmpeg for Audacityavformat-52.dll'.
08:34:59: Looking up PATH environment variable...
08:34:59: PATH = 'C:Program Files (x86)ATI Streambinx86_64;C:Program Files (x86)ATI Streambinx86;C:Program FilesCommon FilesMicrosoft SharedWindows Live;C:Program Files (x86)Common FilesMicrosoft SharedWindows Live;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;C:Program Files (x86)ATI TechnologiesATI.ACECore-Static;D:nonVista Programscvsntcvsnt;C:Python26;D:audioAudacity;D:nonVista ProgramsGnuWin32bin;C:Program Files (x86)Microsoft SQL Server100ToolsBinn;C:Program FilesMicrosoft SQL Server100ToolsBinn;C:Program FilesMicrosoft SQL Server100DTSBinn;D:nonVista ProgramsSlikSVN64bin;D:nonVista ProgramsTortoiseSVN64bin;D:nonVista ProgramsVisual Leak Detectorbin;C:Program Files (x86)Microsoft Visual Studio 8Common7IDE;C:Program Files (x86)Microsoft Visual Studio 9.0Team ToolsPerformance Toolsx64;C:Program Files (x86)Windows LiveShared;C:Program Files (x86)QuickTimeQTSystem'
08:34:59: Checking that 'D:audioAudacityFFmpeg for Audacity' is in PATH...
08:34:59: Warning: FFmpeg directory is not in PATH.
08:34:59: Temporarily appending ';D:audioAudacityFFmpeg for Audacity' to PATH...
08:35:00: Returning PATH to previous setting...
08:35:00: Retrieving FFmpeg library version numbers:
08:35:00:    AVCodec version 0x342000 - 52.32.0 (built against 0x342000 - 52.32.0)
08:35:00:    AVFormat version 0x342400 - 52.36.0 (built against 0x342400 - 52.36.0)
08:35:00:    AVUtil version 0x320300 - 50.3.0 (built against 0x320300 - 50.3.0)
08:35:00: FFmpeg libraries loaded successfully.

Edgar
Forum Crew
Posts: 2043
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 10

Re: Having alot of trouble compiling Audacity from SVN

Post by Edgar » Fri Mar 11, 2011 5:06 pm

J,R,D, Ltd wrote: this is getting off-topic, I guess this would go best under Recording Equipment, or Techniques?
I split this off to:

http://forum.audacityteam.org/viewtopic ... 26&t=54259

J,R,D, Ltd
Posts: 53
Joined: Mon Dec 27, 2010 6:31 am
Operating System: Please select

Re: Having alot of trouble compiling Audacity from SVN

Post by J,R,D, Ltd » Sat Mar 12, 2011 3:06 am

The "Audacity Log" that I posted before was from Help->Show Log... I guess I didn't have the right version of FFmpeg though, now I do, here is what the log looks like now:

Code: Select all

21:54:21: Error: The module E:Building_AudacityAudacity SVNwinUnicode Releasemodulesmod-script-pipe.dll is designed to work with Audacity version 1.3.10-alpha-Mar  4 2011; it will not be loaded.
21:54:23: Trying to load FFmpeg libraries...
21:54:23: Looking up PATH environment variable...
21:54:23: PATH = 'D:WINDOWSsystem32;D:WINDOWS;D:WINDOWSSystem32Wbem;D:Program FilesMicrosoft SQL Server100ToolsBinn;D:Program FilesMicrosoft SQL Server100DTSBinn;D:Python27;D:Program FilesTortoiseSVNbin'
21:54:23: Checking that 'D:Program FilesFFmpeg for Audacity' is in PATH...
21:54:23: Warning: FFmpeg directory is not in PATH.
21:54:23: Temporarily appending ';D:Program FilesFFmpeg for Audacity' to PATH...
21:54:23: Error: Couldn't find symbol 'avutil_version' in a dynamic library (error 127: the specified procedure could not be found.)
21:54:24: Returning PATH to previous setting...
21:54:24: Retrieving FFmpeg library version numbers:
21:54:24:    AVCodec version 0x342000 - 52.32.0 (built against 0x342000 - 52.32.0)
21:54:24:    AVFormat version 0x342400 - 52.36.0 (built against 0x342400 - 52.36.0)
21:54:24:    AVUtil version 0x320300 - 50.3.0 (built against 0x320300 - 50.3.0)
21:54:24: FFmpeg libraries loaded successfully.
Edgar wrote:
J,R,D, Ltd wrote: this is getting off-topic, I guess this would go best under Recording Equipment, or Techniques?
I split this off to:

http://forum.audacityteam.org/viewtopic ... 26&t=54259
Ok, I'll post over there later with information on our current setup.

Edgar
Forum Crew
Posts: 2043
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 10

Re: Having alot of trouble compiling Audacity from SVN

Post by Edgar » Sat Mar 12, 2011 7:35 pm

One thing to try build the Unicode Release (not Unicode Debug) version. You may still run it under the debugger (right from the compiler) just say "Yes" to the "do you want to continue.." dialog. Then try the (non-Unicode) Debug and Release builds--is see not-Unicode-compliant stuff in the ASIO code.

I am fairly sure you are not compiling ASIO in. I just spent some time trying to figure out how to put a message in the Log when ASIO is compiled in, but failed. The only choice to get a message out seems to be to print to the CLI--that gets complicated for you to accomplish!

Are you getting your SVN source with TortoiseSVN (freeware http://tortoisesvn.net/downloads.html ) or using a terminal to send the svn command? The reason I ask is you might want to grab the most current SVN HEAD (r10998) or r10995 (which is the only recent one I can get to compile) and try with new source code. TortoiseSVN makes this very easy:
Tsvn.png
Tsvn.png (33.26 KiB) Viewed 6713 times

J,R,D, Ltd
Posts: 53
Joined: Mon Dec 27, 2010 6:31 am
Operating System: Please select

Re: Having alot of trouble compiling Audacity from SVN

Post by J,R,D, Ltd » Thu Mar 17, 2011 8:37 pm

Sorry I haven't gotten back here in a couple days, been really busy with other projects.

I am using TortoiseSVN. I have a folder for the latest directory which is currently at 11007 today I just made another folder for revision 10995 and I am working on compiling it.

I am trying the Unicode Release right now and I will try the non Unicode afterwards.

Thanks again for all your help. :)

Post Reply