Preferences, Dreaded Windows Registry or CFG file?

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
kozikowski
Forum Staff
Posts: 68938
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Preferences, Dreaded Windows Registry or CFG file?

Post by kozikowski » Sun Dec 07, 2008 5:34 am

Say someone ( a real poster) installed 1.2 on his Windows machine. The program preferences get burned into the Registry. Then they installed 1.3. Do they get an audacity.cfg file and is there any interaction between the two Audacities?

In a vaguely allied question, If you "uninstall" Audacity 1.2 from a Windows machine, do the preferences stick and how do you stop that if they do? Regedit?

Koz

waxcylinder
Forum Staff
Posts: 14585
Joined: Tue Jul 31, 2007 11:03 am
Operating System: Windows 10

Re: Preferences, Dreaded Windows Registry or CFG file?

Post by waxcylinder » Sun Dec 07, 2008 11:57 am

You thinking of abandoning MACs and going Windoze then Koz ?????

1) My understanding is that if you have previously installed 1.2.x on a windows machine with its preferences stored in the registry and then install 1.3 - Audacity will then copy the preferences from the registry and use these as its initial settings for the 1.3 audacity.cfg file. I believe that one of the key reasons the developers chose to do this was so that users didn't have to re-install LAME, or remember where they had previously installed LAME so that they can point Audcity at it. One interesting side effect of this ias that you appear to get tour audacity temp files remaining in the file area where you had it for 1.2 = not a problem, just something to be aware of.

Yes you can use Regedit - or Gale Andrews has posted a little utility to clrean the 1.2.6 registry entries. See the botom of this page: http://www.gaclrecords.org.uk/audacity.html

2) And yes these preferences do stay around in the registry if you use Remove Programs to un-install Audacity - as does the audacity.cfg if you uninstall 1.3 - basically there is not a proper full uninstall Audacity utility.

For more info on Preferences see this article by Gale in the Wiki: http://audacityteam.org/wiki/index.php? ... references

WC
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *

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

Re: Preferences, Dreaded Windows Registry or CFG file?

Post by steve » Sun Dec 07, 2008 8:53 pm

waxcylinder wrote:My understanding is that if you have previously installed 1.2.x on a windows machine with its preferences stored in the registry and then install 1.3 - Audacity will then copy the preferences from the registry and use these as its initial settings for the 1.3 audacity.cfg file.
I'm not sure that all the preferences are copied to the 1.3 audacity.cfg file. Some settings appear to be copied, but not all. (I'm not on Windows at the moment so apologies for the lack of detail).
waxcylinder wrote:Yes you can use Regedit - or Gale Andrews has posted a little utility to clrean the 1.2.6 registry entries. See the botom of this page: http://www.gaclrecords.org.uk/audacity.html
Excellent utility - works like a charm.

What it does is to overwrite the Audacity registry settings with these (safe) values:

Code: Select all

[HKEY_CURRENT_USERSoftwareAudacity]

[HKEY_CURRENT_USERSoftwareAudacityAudacity]
"Version"="1.2.6"
"PrefsVersion"="1.1.1r1"
"DefaultExportPath"="C:"
"DefaultOpenPath"="C:"
"DefaultMultiplExportPath"="C:"


[HKEY_CURRENT_USERSoftwareAudacityAudacityAudioIO]
"PlaybackDevice"="Microsoft Sound Mapper - Output"
"RecordingDevice"="Microsoft Sound Mapper - Input"
"RecordChannels"=dword:00000001
"Duplex"=dword:00000000
"SWPlaythrough"=dword:00000000

[HKEY_CURRENT_USERSoftwareAudacityAudacityDirectories]

[HKEY_CURRENT_USERSoftwareAudacityAudacityFileFormats]
"ExportFormat_SF1"=dword:00010002
"CopyOrEditUncompressedData"="edit"
"MP3Bitrate"=dword:00000080
"LossyExportFormat"="MP3"
"OggExportQuality"=dword:00000032

[HKEY_CURRENT_USERSoftwareAudacityAudacityGUI]
"AutoScroll"=dword:00000001
"UpdateSpectrogram"=dword:00000001
"AlwaysEnablePause"=dword:00000000
"AlwaysEnablePlay"=dword:00000000
"QuitOnClose"=dword:00000001
"AdjustSelectionEdges"=dword:00000001
"ErgonomicTransportButtons"=dword:00000000
"EnableEditToolBar"=dword:00000001
"EnableMixerToolBar"=dword:00000001
"EnableMeterToolBar"=dword:00000001
"EnvdBRange"=dword:00000024

[HKEY_CURRENT_USERSoftwareAudacityAudacityLocale]
"Language"="en"

[HKEY_CURRENT_USERSoftwareAudacityAudacityPrefs]
"PrefsCategory"=dword:00000001

[HKEY_CURRENT_USERSoftwareAudacityAudacityQuality]
"LibresampleSampleRateConverter"=dword:00000000
"LibresampleHQSampleRateConverter"=dword:00000001
"HQDitherAlgorithm"=dword:00000002
"DitherAlgorithm"=dword:00000000

[HKEY_CURRENT_USERSoftwareAudacityAudacitySamplingRate]
"DefaultProjectSampleRate"=dword:0000ac44
"DefaultProjectSampleFormat"=dword:0004000f

[HKEY_CURRENT_USERSoftwareAudacityAudacitySpectrum]
"FFTSize"=dword:00000100
"Grayscale"=dword:00000000
"MaxFreq"=dword:00001f40

[HKEY_CURRENT_USERSoftwareAudacityAudacityWindow]
"Width"=dword:00000258
"Height"=dword:000001b8
"Maximized"=dword:00000000

9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Locked