The problem, when applying "High pass filter"
Forum rules
This forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
The problem, when applying "High pass filter"
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!
- Attachments
-
- Фильтр.png (6.99 KiB) Viewed 1082 times
Re: The problem, when applying "High pass filter"
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:
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.
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)
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
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
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
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 20The 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" 2Code: Select all
;control frequency "Cutoff frequency (Hz)" real "" 123 1 20000If you are interested, you can learn more about Nyquist plug-ins here: http://wiki.audacityteam.org/wiki/Nyqui ... _Reference
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Re: The problem, when applying "High pass filter"
Thank you very much! Explain, please, is it possible to choose а default value (different from "0") for an effect "Changе speed", see photo?
- Attachments
-
- Скорость.png (7.79 KiB) Viewed 1075 times
Last edited by юра00 on Wed Oct 29, 2014 3:19 am, edited 1 time in total.
Re: The problem, when applying "High pass filter"
"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.
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.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Re: The problem, when applying "High pass filter"
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!
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: The problem, when applying "High pass filter"
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.
For those other three effects in particular, there is no obvious choice of default.
Gale
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.юра00 wrote:There is no sense in value "0", if you are applying "change speed".
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.юра00 wrote:I should prefer that it always remembers the last setting used, even after restarting (or reinstalling) the program, such as "Normalize".
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: The problem, when applying "High pass filter"
Thank you very much! Now "Change speed" remembers the last value, used. Comfortably!