AutoEQ PEQ for Headphones & IEMs (REW, Harman Target)

Version 1.1.2 (574 KB) by eduard
Automatically designs parametric EQ filters to match measured headphone/IEM FR to a target curve (e.g., Harman).
3 Downloads
Updated 6 Dec 2025

View License

This script takes a measured headphone or IEM frequency response and automatically designs a small set of parametric EQ filters that move it toward a chosen target curve (for example a Harman target).
(REW software recommended)
The script prompts for:
  • Lower and upper EQ frequency (e.g. 1000–10000 Hz)
  • Number of peak filters to use (up to 5 by default)
Outputs:
  • A table in the Command Window listing filter number, frequency, gain, and Q
  • Plot of original FR, target FR and EQ’d FR
  • Plot of individual peak filters and the total EQ curve

Cite As

eduard (2025). AutoEQ PEQ for Headphones & IEMs (REW, Harman Target) (https://www.mathworks.com/matlabcentral/fileexchange/182745-autoeq-peq-for-headphones-iems-rew-harman-target), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2025b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.2

v1.1.1

Added global optimizer for all EQ bands, improved REW file handling, limited Q to a maximum of 5 for more realistic peak filters and updated plots to show original, target, EQ’d response, and individual filter curves.

1.1.1

v1.1.1 Replaced simple fitter with global optimizer, added robust REW file loading, 4 docked plots, ADI-2-compatible quantization, REW software compatible, updated title.

1.1.0

v1.1 – Replaced simple fitter with global optimizer, added robust REW file loading, 4 docked plots, ADI-2-compatible quantization, REW software compatible

1.0.0