Automate lame_enc.dll

This section is now closed.
Forum rules
Audacity 1.2.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
R3622
Posts: 1
Joined: Thu Jun 24, 2010 8:15 pm
Operating System: Please select

Automate lame_enc.dll

Post by R3622 » Thu Jun 24, 2010 8:21 pm

I have to install Audacity on multiple machines and I was wondering if there was a way to automate the binding between audacity and lame_enc.dll. I was tring to figure out if it created a registry key or a file, does anybody know? Whatever it does, appears to happen on a per-user basis.

Thanks
-R

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

Re: Automate lame_enc.dll

Post by Gale Andrews » Fri Jun 25, 2010 12:27 am

R3622 wrote:I have to install Audacity on multiple machines and I was wondering if there was a way to automate the binding between audacity and lame_enc.dll. I was tring to figure out if it created a registry key or a file, does anybody know? Whatever it does, appears to happen on a per-user basis.
Yes - all Audacity Preferences are stored on a per-user basis, so for example a new user logging on for the first time would have to configure Preferences from scratch including setting the required language (in Audacity 1.2) and the need to locate LAME.

You could use a log on script or similar to load the settings wanted for Audacity. In Audacity 1.2.6 the settings are stored in the Windows Registry at:

HKEY_CURRENT_USERSoftwareAudacity

For example a way to preload Audacity 1.2 settings on Windows would be to create a .reg file to merge your required settings in the Registry then put a shortcut to Regedit in the Startup group for each user. Right-click the shortcut, click Properties, and edit the Target box to read as below:

%windir%regedit.exe/S C:audacity.reg

adjusting the path to the .reg file as necessary.

An example .reg file is here:
http://www.gaclrecords.org.uk/audacity.reg

This preloads the language to English and the path to lame_enc.dll. Note the double slashes which are needed in any entry that is a file path.

When any user logs on, the shortcut will invoke Regedit to load Audacity with the settings specified in the .reg file.

Note that for Audacity Beta 1.3, preferences are stored in a configuration file called audacity.cfg in the Audacity settings folder. The configuration file can be edited with any text editor. The Audacity settings folder is located at:

* Windows 2000/XP :
Documents and Settings<user name>Application DataAudacity
* Windows Vista/7:
Users<user name>AppDataRoamingAudacity

For Vista and 7, the general recommendation is to use 1.3 Beta, particularly if the intention is to make recordings.


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

Locked