Classic Filters

From Audacity Development Manual
Jump to: navigation, search
Other languages
English
Classic Filters offers three different types of filter which together emulate the vast majority of analog filters, providing a useful graphical tool for analysis and measurement.
Classic Filters 3-2-0.png

Graph Scale and Sliders

  • Vertical Scale: This scale is in dB and shows the amount of gain (amplification above 0 dB or attenuation below 0 dB) that will be applied to the audio at any given frequency.
  • Horizontal Scale: This shows the frequencies in Hz to which volume adjustments will be applied. Dragging the Classic Filters window wider displays some additional points on the scale.
  • Vertical scale sliders: By default the vertical scale reads from 0 dB to -10 dB, but these two sliders to left of the scale let you adjust the upper and lower dB values so as to change the visible range on the graph. Note that moving either slider may change the horizontal position of the 0 dB line.

Filter Type

  • Butterworth: An analog Butterworth filter provides a "maximally flat" passband (ie. no ripples), the magnitude response at the cutoff frequency is -3 dB, and above (for lowpass) or below (for highpass) the cutoff frequency, the attenuation increases at approximately 6 dB per octave times the filter order (so for example 60 dB per octave for 10th order).
  • Chebyshev Type I: Chebyshev Type I filters are similar to Butterworth filters, except that a) the magnitude response of the passband has "ripples" in it (usually small), b) at the cutoff frequency the magnitude response is equal to the ripple value, and c) above (below for highpass) the cutoff frequency, the stopband attenuation increases more rapidly, for a given filter order, than Butterworth.
  • Chebyshev Type II: Chebyshev Type II filters are similar to Butterworth, including the flat passband response, except that a) at the cutoff frequency the magnitude response is equal to the ripple value, b) above (below for highpass) the cutoff frequency, the stopband attenuation increases more rapidly, for a given filter order, than Butterworth, and c) the stopband attenuation varies from infinite to the ripple value. (Here it is common to use a ripple value of 20, 30 or more dB).
Steve 5Nov13: I suspect that this will only make sense to users that already know what these filters are and do. If it is to be understandable to the average user I think it requires much more explanation. On the other hand, if the user is expected to know what these filter types are, then do we need to "explain" them at all?
  • Peter 6Nov13: I suspect that this whole effect "will only make sense to users that already know what these filters are and do". It certainly flies well below my radar and that of many others too, I'm guessing.
For details about these filters see the Wikipedia pages on Butterworth filters and see Chebyshev filters.

Subtype

  • Lowpass: The filter passes low frequencies and attenuates high frequencies.
  • Highpass: The filter passes high frequencies and attenuates low frequencies.

Order

Choose a value between 1 and 10. "1" - first-order filters - have the most gradual cutoff slope

Cutoff

Enter the cutoff frequency.

Passband Ripple

  • For Butterworth filters no value can be entered and any value displayed is ignored.
  • For Chebyshev Type I filters type in the acceptable amount of passband ripple. Higher values of passband ripple will also increase the cutoff slope.
  • For Chebyshev Type II filters no value can be entered and any value displayed is ignored.

Minimum Stopband Attenuation

  • For Butterworth filters no value can be entered and any value displayed is ignored.
  • For Chebyshev Type I filters no value can be entered and any value displayed is ignored.
  • For Chebyshev Type II filters type in the desired amount of stopband ripple.
Steve 5Nov13: What is the "desired amount of stopband ripple"? What IS stopband ripple? Would stopband ripple ever be "desired"?
  • Martyn 1Jan15: 'tis a trade off against what happens in the pass band, we don't 'desire' it, we put up with it for other advantages, it is an engineering compromise. Try changing it and look at the graph. How much stopband attenuation do you need?


Links

|< Index of Effects, Generators and Analyzers

|< Effect Menu