Page 1 of 1

Automate lame_enc.dll

Posted: Thu Jun 24, 2010 8:21 pm
by R3622
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

Re: Automate lame_enc.dll

Posted: Fri Jun 25, 2010 12:27 am
by Gale Andrews
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