Graphic EQ

From Audacity Development Manual
Revision as of 16:50, 31 March 2019 by PeterSampson (talk | contribs) (cruft removal - the "Graphic EQ curve shown is not AM radio)
Jump to: navigation, search
Work in Progress...
Peter 27Mar19: This page is a very rough draft - a straight copy from the Equalization page.


Linked This page is linked to in the Audacity app from the Help Button help button in the dialog.
Alert Do not rename or delete this page unless and until the corresponding link in the app is changed.
Pseudo renames can be achieved with a DISPLAYTITLE. If a rename is absolutely necessary then a redirect must be left behind.
Other languages
English
Equalization is a way of manipulating sounds by Frequency. It allows you to increase the volume of some frequencies and reduce others. This is a more advanced form of the EQ and Tone controls on many audio systems.
Accessed by: Effect > Graphic EQ...
Graphic EQ.png
Equalization is also available in a "Draw curves" mode, accessed via Effect > Filter Curve....


Contents

  1. Graphic EQ sliders
  2. Graph Scale and Sliders
  3. Equalization settings and presets
  4. Limitations
  5. Manage Curves
  6. The buttons


Graphic EQ sliders

Frequency Sliders: In "Graphic EQ" , the equalization curve is drawn by manipulating a set of sliders. Each slider adjusts the gain of a specific range of frequencies, the gain being maximized at (centered on) the frequency stated on the slider. Click and drag the slider up or down to increase or decrease the volume by a maximum of 20 dB. You can Tab between each slider. You can get to an exact slider value but the method depends to some extent on your operating system. Try:

  • Clicking above or below the slider to increment it up or down by a fixed value in whole dB
  • Clicking above or below the slider to jump to a nearby whole dB value
  • Using the arrow keys on the keyboard to increment by 1 dB
  • Holding down Shift then either dragging the slider handle or using the arrow keys to increment by 0.1 dB. </ul>

The current value of the slider can be seen by hovering over it with the mouse.

A dropdown box lets you choose between three different interpolation methods:
  • B-spline tends to reduce somewhat the amount of gain set on the sliders, whilst spreading it to more of the surrounding frequencies.
  • Cosine - to be provided
  • Cubic affects the surrounding frequencies the most, introducing a small opposite gain (for example an attenuation if you specified an amplification) at frequencies furthest from the frequency stated on the slider.


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 Equalization window wider displays some additional points on the scale and makes it easier to plot the graph accurately.
  • Vertical scale sliders: By default the vertical scale reads from + 30 dB to - 30 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 changes the horizontal position of the 0 dB line. Reducing the visible range lets you make a finer adjustment to how loud the frequencies sound, but the changes will be more subtle because the volume adjustment will be less.

Equalization settings and presets

  • Draw Curves: Selecting this radio button gives you the "Draw Curves" mode, in which the equalization curve is drawn by manipulating control points.
  • Graphic EQ: This button switches to the simpler "Graphic EQ" mode, in which the equalization curve is drawn by adjusting the frequency sliders.
  • Length of filter: How many samples of audio Audacity processes in each analysis step. Generally, it's best left at the default value of 4001. If the green curve Audacity uses to perform the effect is very different from the blue curve you created, try increasing the length of the filter. Higher settings will process the audio in a greater number of narrow frequency bands, but may introduce ringing artifacts at very high settings.
    • At high sample rates the actual time represented by a given number of samples will be less and the frequency bands will be broader so as to cover the increased frequency range. As a result, the green curve will fit to the blue line less closely at any given "Length of filter" than for lower sample rates.
    • A shorter filter length may sometimes be preferable. It will take less time to process the effect, and the smoother curve produced may actually sound better, unless you are modifying very low frequencies.
  • Select curve: Click the dropdown triangle to select from a list of preset equalizations. These are either your own saved presets (see "Save/Manage Curves" below) or built-in presets, such as filters to remove unwanted low frequencies that could cause poor sound, or the RIAA curve to equalize an LP recorded into Audacity without equalization. A curve will display as an "unnamed" curve if it is not yet saved as a preset, or if it is a modified preset.
There will also be the following instances where curves can only be matched approximately, so will display as "unnamed":
  • In "Graphic EQ" mode, built-in presets will display as "unnamed" because they were built using the differently calculated "Draw curves" mode.
  • Your own saved presets will always display with their saved name if loaded in the same mode you saved them in. In "Graphic EQ" mode, only presets saved in that mode will display with their saved name. In "Draw Curves" mode, a curve created in "Graphic EQ" mode can be displayed as its saved name if loaded from within "Draw Curves". If that curve is loaded in "Graphic EQ" mode and then switched to "Draw Curves", it will display as "unnamed".
  • Any curve in either mode will display as "unnamed" if there are points in the curve that are outside the range of the Horizontal Scale. For example, if you have a point at 10 Hz in a curve saved in linear view (where the scale starts at 0 Hz) then switch to logarithmic view (where the scale starts at 20 Hz), the curve will switch to "unnamed". In that case Audacity will put a point in at 20 Hz at the dB level you wanted at 10 Hz.
  • Save/Manage Curves: This opens the "Manage Curves" dialog described below.
  • Flatten: A quick way to set a "level response curve". This means the curve on the graph is drawn from left to right at 0 dB on the vertical scale, so that no frequencies will have their volume level modified.
  • Invert: Turns the current curve in the window upside down, changing positive gains at a particular frequency into negative, and vice versa. To negate incorrect RIAA equalization of a 78 rpm record that was recorded with a modern turntable, you can apply the already supplied "Inverse RIAA" curve in the "Select Curve" dropdown, without using the "Invert" button.

Manage Curves

Equalization Manage Curves.png
  • Move Up Move the selected preset up in the list.
  • Move Down Move the selected preset down in the list.
  • Rename Give the preset a new name.
  • Delete Remove the preset from the list.
  • Import Import new presets from an XML file, adding them to the current list.
  • Export Export the curves selected in "Manage Curves" to a new XML file. Be sure to add ".xml" to the end of the file name on Mac and Linux. You could use this to export your custom EQ curves to share them on the EQ Curves Download page on the Audacity wiki.
  • Get More Clicking this button takes you to the EQ Curves Download page on the Audacity wiki, where you can download the latest default curve set, or other curve sets created by users for specific purposes such as applying the proper equalization to 78 rpm records.
  • Defaults Restore the list to the default setting. Warning: you will lose any custom presets you have created.
  • Cancel Close the dialog without making any changes.
  • OK Close the dialog and accept the changes.

Examples:

To save a new preset, modify the curve then:

  1. Click "Save/Manage Curves..." ("unnamed" will already be selected)
  2. Click the "Rename" button
  3. Give the new preset a name not already in the "Curve Name" list
  4. Click the "OK" button.

To modify and save an existing preset, save in the same way by renaming the resulting "unnamed" curve as the original name:

  1. Click "Save/Manage Curves..." ("unnamed" will already be selected)
  2. Click the "Rename" button
  3. Type the original name of the curve exactly as in the "Curve Name" list
  4. When the "Curve exists" prompt appears, choose "Yes" to overwrite the curve
  5. Click the "OK" button.

The updated curve for the preset will still show as "unnamed" in the "Select Curve" box but is identical to the curve obtainable by selecting the name of the preset.

Other buttons

Clicking on the command buttons give the following results:

  • Manage gives a dropdown menu enabling you to click "About" to see some details about the effect.
Alert The Presets features are not working yet. Use Save / Manage Curves to save, rename, export and import predefined curves.
Gale 31May16: I added that presets do not work yet and put the link to Manage presets in an ednote.
  • Peter 25Nov18: This can be removed if and when Bug #2031 is fixed.
For details see Manage presets.
  • Preview plays a short preview of what the audio would sound like if the effect is applied with the current settings, without making actual changes to the audio. The length of preview is determined by your setting in Edit > Preferences > Playback, the default setting is 6 seconds.
  • OK applies the effect to the selected audio with the current effect settings.
  • Cancel aborts the effect and leaves the audio unchanged.

EQCurves.xml file: This is a text file located in Audacity's folder for application data. This file stores:

  • the last "unnamed" curve visible on the graph (the save is made whenever you press "OK" in Equalization)
  • all the named presets.

While you can edit this file manually, for example to create closely spaced points or points below 20 Hz, the syntax of the file must be completely correct. It is usually easier to make curve changes directly inside Equalization.

EQDefaultCurves.xml file: This text file which ships with Audacity is located outside Audacity's folder for application data. The file contains the default curves Audacity ships with and which are restored when you press "Defaults" in "Save/Manage" Curves...". This file should not be edited. Doing so may prevent new or updated curves in future versions of Audacity from being installed correctly.

Bill 19Aug2017: Leaving above note about EQDefaultCurves.xml since it might be visible on Windows and Linux. On Mac it is in the application bundle so not visible.
Gale 23Mar16: Commenting out this "easter egg" at least for now. It still works as described, but now not when upgrading, so it is now more questionable to include it.
  • For Advanced users: If you want your own customized set of default curves, you may create your own "EQDefaultCurves.xml" in Audacity's folder for application data. When you want Audacity to load your customized defaults, delete (or rename) EQCurves.xml. Audacity will recreate EQCurves.xml with your customized curves the next time you press OK in Equalization.


Limitations

To process Equalization, all tracks in the project must have the same sample rate. To change the sample rate of a track without affecting speed or pitch, use Tracks > Resample....

Links

|< Index of Effects, Generators and Analyzers

|< Effect Menu