Skip to content
Equalizer-APO.app

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 folderPurpose
C:\Program Files\EqualizerAPO\config\config.txtThe main file. Always loaded.
...\config\example.txt, demo.txt, multichannel.txt, selective_delay.txtExample files shipped with the program. example.txt is included by default.
...\config\peace.txtWritten by Peace, if you use it
C:\Program Files\EqualizerAPO\VSTPluginsA folder for VST plugin files
C:\Windows\ServiceProfiles\LocalService\AppData\Local\Temp\EqualizerAPO.logError 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.

Annotated Equalizer APO filter line: Filter, ON, the type PK, Fc 1000 Hz for frequency, Gain minus 3 dB, Q 1.41
One filter line, part by part.

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.

config.txt
Preamp: -6.5 dB

Filter

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.

config.txt
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
TypeFilterNeeds
PK, PEQ, ModalPeak (bell): boost or cut around a frequencyFc, Gain, Q or BW
LSC, LSLow 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, HSHigh shelf: everything above FcFc, Gain; Q optional
LS 6dB, LS 12dB, HS 6dB, HS 12dBShelves with a fixed slope and Fc as the cornerFc, Gain
HP, HPQHigh-pass: removes everything below Fc at 12 dB per octaveFc; Q optional
LP, LPQLow-pass: removes everything above FcFc; Q optional
BPBand-pass: keeps a band, removes the rest; no gainFc; Q optional
NONotch: removes a narrow band, such as humFc; Q optional
APAll-pass: changes phase, not levelFc, Q
IIRCustom 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.

config.txt
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 3

Include

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.

config.txt
Include: headphones\hd600.txt

Device (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.

config.txt
Device: Headphones Realtek
Include: headphones.txt
Device: USB Microphone
Filter: ON HP Fc 90 Hz
Device: all

Without 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.

config.txt
Channel: L
Preamp: -3 dB
Channel: R
Filter: ON PK Fc 4000 Hz Gain -2 dB Q 2
Channel: all

Names: 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.

config.txt
# 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*C

More 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.

config.txt
Channel: L
Delay: 1.5 ms
Channel: all

Convolution (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.

config.txt
Convolution: room_48000.wav

Stage (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.

config.txt
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:

config.txt
Eval: linGain = 0.5
Filter: ON PK Fc 1000 Hz Gain `20*log10(linGain)` dB Q 10

VSTPlugin 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:

config.txt
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: all

Common mistakes

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

See everything under Guides.

Build a config in the generator