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.
1) Find the file "highpass.ny" in your plug-ins folder and open it in a plain text editor (such as NotePad or NotePad++).
2) Change lines 17, 18 and 19 to your requirements.
The current lines are:
Code: Select all
;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.
Code: Select all
;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)
Code: Select all
;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
Code: Select all
;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/Nyqui ... _Reference