The Equalizer APO config file
The Equalizer APO config file is config.txt in C:\Program Files\EqualizerAPO\config. Equalizer APO reads it, and every file it includes, whenever any of them changes. Each line is one command in the form Command: parameters. Lines that do not fit that form, such as comments starting with #, are ignored.
Build a config in the generator
Checked against Equalizer APO 1.4.2. Last updated .
Where the files are
| File or folder | Purpose |
|---|---|
C:\Program Files\EqualizerAPO\config\config.txt | The main file. Always loaded. |
...\config\example.txt, demo.txt, multichannel.txt, selective_delay.txt | Example files shipped with the program. example.txt is included by default. |
...\config\peace.txt | Written by Peace, if you use it |
C:\Program Files\EqualizerAPO\VSTPlugins | A folder for VST plugin files |
C:\Windows\ServiceProfiles\LocalService\AppData\Local\Temp\EqualizerAPO.log | Error log, only created when something fails |
Commands run from top to bottom, and the order matters. A Device or Channel line affects everything below it until the next one.
Preamp
Raises or lowers the level of the selected channels in dB. Use a negative value at least as large as your biggest boost so filters cannot clip. Several Preamp lines on the same channel add together.
Preamp: -6.5 dBFilter
One parametric filter. The number after Filter is ignored and can be left out. Q can be replaced by a bandwidth in octaves, written BW Oct 1. This is the same text format Room EQ Wizard exports.
Filter 1: ON PK Fc 50 Hz Gain -3 dB Q 10
Filter 2: ON LSC Fc 105 Hz Gain 5 dB Q 0.7
Filter 3: ON HSC Fc 10000 Hz Gain -3 dB Q 0.7
Filter 4: ON HP Fc 30 Hz
Filter 5: ON NO Fc 60 Hz| Type | Filter | Needs |
|---|---|---|
PK, PEQ, Modal | Peak (bell): boost or cut around a frequency | Fc, Gain, Q or BW |
LSC, LS | Low shelf: everything below Fc up or down. LSC places Fc in the middle of the slope. | Fc, Gain; Q optional since 1.2.1 |
HSC, HS | High shelf: everything above Fc | Fc, Gain; Q optional |
LS 6dB, LS 12dB, HS 6dB, HS 12dB | Shelves with a fixed slope and Fc as the corner | Fc, Gain |
HP, HPQ | High-pass: removes everything below Fc at 12 dB per octave | Fc; Q optional |
LP, LPQ | Low-pass: removes everything above Fc | Fc; Q optional |
BP | Band-pass: keeps a band, removes the rest; no gain | Fc; Q optional |
NO | Notch: removes a narrow band, such as hum | Fc; Q optional |
AP | All-pass: changes phase, not level | Fc, Q |
IIR | Custom coefficients (since 0.9) | Order and coefficients |
The shapes are drawn on the graphic and parametric EQ page, and the calculator converts Q to octaves.
GraphicEQ (since 1.0)
A graphic equalizer with any number of bands, as frequency and gain pairs. Between bands the gain changes in a straight line on a logarithmic scale. Outside the first and last band it stays flat. AutoEq's GraphicEQ.txt files use this command.
GraphicEQ: 25 6; 40 4.5; 63 3; 100 1.5; 160 0; 250 0; 400 0; 630 0; 1000 0; 1600 0; 2500 0; 4000 0; 6300 1.5; 10000 3; 16000 3Include
Loads another config file at that point. Paths are relative to the current file. This is how presets are kept in separate files and switched with one line.
Include: headphones\hd600.txtDevice (since 0.7)
Applies the lines below it only to matching devices. Each word must appear somewhere in the device name, connection name or ID. Separate alternatives with ;. Device: all matches everything again. The Configuration Editor writes this line for you from a list.
Device: Headphones Realtek
Include: headphones.txt
Device: USB Microphone
Filter: ON HP Fc 90 Hz
Device: allWithout any Device line, every command applies to every device Equalizer APO is installed on, microphones included. That is the cause of "my mic EQ changed my headphones".
Channel (since 0.8)
Selects which channels the following Preamp and Filter lines affect. Use names or numbers counted from 1. Channel: all resets.
Channel: L
Preamp: -3 dB
Channel: R
Filter: ON PK Fc 4000 Hz Gain -2 dB Q 2
Channel: allNames: L, R, C (centre), LFE (subwoofer, formerly SUB), RL, RR (rear), RC, SL, SR (side). The project's advice is to apply bass filters to all channels, not only LFE, because many systems redirect bass after Equalizer APO has run.
Copy (since 0.9)
Builds a channel from other channels, with optional factors in plain numbers or dB. All assignments on one line read the original channels, so swaps work. A number with a decimal point is a constant; without one it is a channel number.
# Swap left and right
Copy: L=R R=L
# Mono: both sides get the average
Copy: L=0.5*L+0.5*R R=0.5*L+0.5*R
# Add the centre channel to left at -6 dB
Copy: L=L+-6dB*CMore uses are on the tips and tricks page.
Delay (since 0.9)
Delays the selected channels. Milliseconds are preferred because they do not depend on the sample rate.
Channel: L
Delay: 1.5 ms
Channel: allConvolution (since 1.0)
Processes the sound with an impulse response file in WAV, FLAC or another format libsndfile reads. The file's sample rate must match the device's. Room correction from Room EQ Wizard and virtual surround with HeSuVi both work this way. A linear-phase file adds latency of half its length.
Convolution: room_48000.wavStage (since 0.9)
Chooses where the following commands run: pre-mix (on each app's stream before Windows mixes them), post-mix (once, after mixing, the default for outputs) or capture (microphones). Pre-mix costs more CPU and is mainly needed to upmix based on how many channels a source has.
If, Eval and expressions (since 0.9)
Run commands only under a condition, or calculate values. Variables include sampleRate, inputChannelCount, outputChannelCount, deviceName and stage. Device lines cannot go inside an If block.
If: sampleRate == 44100
Convolution: room_44100.wav
ElseIf: sampleRate == 48000
Convolution: room_48000.wav
EndIf:Inline expressions go between backticks, for example a gain calculated from a linear factor:
Eval: linGain = 0.5
Filter: ON PK Fc 1000 Hz Gain `20*log10(linGain)` dB Q 10VSTPlugin and LoudnessCorrection (since 1.2)
These two are added through the Configuration Editor rather than typed. A plugin line names the DLL and stores its settings as encoded data. Loudness correction adds two shelf filters that change with the Windows volume. See VST plugins and loudness correction.
A complete example
Headphones with an AutoEq correction and a little extra bass, speakers with a small treble cut, and a cleaned-up microphone, all in one file:
Device: Headphones
Include: Sennheiser HD 600 ParametricEQ.txt
Filter: ON LSC Fc 105 Hz Gain 2 dB Q 0.7
Preamp: -2 dB
Device: Speakers
Preamp: -1 dB
Filter: ON HSC Fc 8000 Hz Gain -2 dB Q 0.7
Device: Microphone
Filter: ON HP Fc 90 Hz
Filter: ON PK Fc 300 Hz Gain -2 dB Q 1
Device: allCommon mistakes
- Editing a copy. Only
config.txtand the files it includes are read. - Stacked preamps. The default
Preamp: -6 dBplus a preset's own preamp gives −12 dB. Remove the default lines when you paste a preset. - A file that includes itself, directly or through another file. Since 1.1.2 recursion stops after 100 levels, but nothing useful happens.
- Files outside the config folder. They work, but changes to them are not picked up automatically. Keep included files in the config folder.
- No space before dB. Write
-3 dB, not-3dB, in Preamp and Filter lines.
Common questions
How do I reset Equalizer APO to default?
Replace config.txt with the three default lines shown on how to use Equalizer APO, or with an empty file containing only a comment for no processing at all.
Can I move the config folder to another drive?
The folder is set in the registry value ConfigPath under HKEY_LOCAL_MACHINE\SOFTWARE\EqualizerAPO. Changing it has been suggested but not confirmed by users. One user linked the folder to another drive with a directory link instead, which worked, though Peace then had to be started through the original path.
Why does saving fail with "access denied"?
Files under Program Files need administrator rights to change. The Configuration Editor handles that. In other editors, run them as administrator. Security software can also block writes there.
Sources: every command, syntax and example from the official configuration reference; file locations and log from the documentation; version notes from the readme on the Files page; ConfigPath and folder link reports from ticket 333 and the Peace forum.
Related pages
- Not workingThe 30-second test, then device, enhancements, exclusive mode, install mode and config mistakes.
- Config generatorPick a preset, edit the filters, watch the curve, listen, copy config.txt.
- Preamp and clippingWhy boosts clip, how much preamp to use, and the pumping effect from Windows' limiter.
- Peace not workingCheck Equalizer APO first, then the device menu, peace.txt, antivirus and updates.
- SettingsThe handful of settings that matter, and starting points by goal.
- EQ cheat sheetThe frequency chart, what each band adds, and fixes for muddy, boomy, harsh or thin sound.
See everything under Guides.