Even before exiting the program, Audacity of the latest versions overthrows my installed settings, restoring defaults ( 6 db, 1000 hz, see on photo). Please, correct!
Nyquist plug-ins do not currently save their settings between sessions. When Audacity is closed, the settings revert to their defaults.
To change the default setting for the High Pass filter you need to change the plug-in code, which (because it is a Nyquist plug-in) is very easy to do.
- Find the file “highpass.ny” in your plug-ins folder and open it in a plain text editor (such as NotePad or NotePad++).
- Change lines 17, 18 and 19 to your requirements.
The current lines are:
;control rolloff "Rolloff (dB per octave)" choice " 6 dB,12 dB,24 dB,36 dB,48 dB" 0
;;control q "Filter quality (Q) for 12 dB rolloff" real "" 0.7071 .1 20
;control frequency "Cutoff frequency (Hz)" real "" 1000 1 20000
These “control” lines tell Audacity to create controls. Note that “;control” has a semicolon before it (“;”).
The second ;control line currently has 2 semicolons, which disables that control. If you change that to one semicolon then the “Filter quality (Q)” control will be enabled.
;control q "Filter quality (Q) for 12 dB rolloff" real "" 0.7071 .1 20
The numbers at the ends of those lines set the range and default values.
The first control, Rolloff (dB per octave) is a multi-choice menu. Each menu option is listed, separated by commas.
The zero at the end is the index number (counting from 0) of the number that will be selected from the list as the default. For example, if you want the third item (24 dB) as the default, then (counting from 0, that is the 2nd item)
;control rolloff "Rolloff (dB per octave)" choice " 6 dB,12 dB,24 dB,36 dB,48 dB" 2
The Cutoff frequency (Hz) control is a slider. The numbers at the end set the default, minimum and maximum values. 1000 is the default, 1 is the minimum and 20000 is the maximum. Example, to change the default to 123
;control frequency "Cutoff frequency (Hz)" real "" 123 1 20000
Note: When using decimal numbers in a Nyquist script, you must use a dot . as the decimal point and not a comma ,
If you are interested, you can learn more about Nyquist plug-ins here: http://wiki.audacityteam.org/wiki/Nyquist_Plug-ins_Reference
Thank you very much! Explain, please, is it possible to choose а default value (different from “0”) for an effect “Changе speed”, see photo?
“Change Speed” is a built-in effect (written in C++), so it is not so easy to modify the code. To do so you would need to modify the Audacity source code and then build the Audacity application from your modified source code. Doing so can be quite complex, particularly on Windows and Mac OS X (less so on Linux).
It seems that as a general issue, you would like to be able to set the defaults in most effects?
A few effects do remember their settings, (such as Equalization and Normalize) but most don’t.
For some effects it may be better that they do not remember their previous setting - for example, the Amplify effect always defaults to a new peak level of 0dB (which many users find very convenient). Perhaps you could have a look through the effects that you use, and come up with a suggestion of how default settings could be handled better. For example, would you want an effect to go back to a user selected default each time you call the effect, or would you prefer that it always remembers the last setting used, or some other behaviour? You may prefer something different for different effects.
Respeсted steve! There is no sense in value “0”, if you are applying “change speed”. I should prefer that it always remembers the last setting used, even after restarting (or reinstalling) the program, such as “Normalize”. Thank you!
Were you entering a High Pass frequency above 20000 Hz? That value would be outside the slider range and would cause the effect to reset frequency to default the next time you open it.
I’ve been arguing that case recently myself, but there is the same issue with Change Tempo, Change Pitch and Sliding Time Scale / Pitch Shift.
For those other three effects in particular, there is no obvious choice of default.
In my opinion, most built-in effects should remember their settings, and should have a “Defaults” button.
Gale
Thank you very much! Now “Change speed” remembers the last value, used. Comfortably!