AutoEq README

The project's README from github.com/jaakkopasanen/AutoEq. As one markdown file: README.md.

AutoEq

AutoEq is a tool for automatically equalizing headphones.

Go to autoeq.app to get started.

This Github repository now mainly serves developers. The contributions of this project are:

Sennheiser HD 800

Sennheiser HD 800 equalization results plotted

Updates

2023-10-29 AutoEq version 4.0.0. Improved and unified naming conventions across the project. Cleaned up obsolete files and reorganized directory structure. Completely reworked database management tools.

2022-05-14 Web application. Reorganized measurements and results.

2022-10-30 Restructured the project and published in PyPi. Source code moved under autoeq directory and command line usage changed from python autoeq.py to python -m autoeq with underscores _ replaced with hyphens - in the parameter names.

2022-09-18 Parametric eq optimizer reworked. The new optimizer supports shelf filters, has a powerful configuration system, run 10x faster, has limits for Fc, Q and gain value ranges and treats +10 kHz range as average value instead of trying to fix it precisely.

Usage

AutoEq produces settings for basically all types of equalizer apps but does not do the equalization itself. You'll need a different app for that. Go to autoeq.app and select your equalizer app of choice. Quick instructions for importing the produced settings will be shown there.

Command Line Use

In addition to the web application, AutoEq can be used from command line (terminal). This is advanced use mainly intended for developers. The following instructions apply for command line and Python interface use.

Installing

sudo apt install python3-dev python3-pip python3-venv
git clone https://github.com/jaakkopasanen/AutoEq.git
cd AutoEq
python -m venv venv
# On Windows
venv\Scripts\activate.bat
# On Linux and Mac
. venv/bin/activate
python -m pip install -U pip
python -m pip install -U -e .
python -m autoeq --help
python -m autoeq --input-file="measurements/oratory1990/data/over-ear/Sennheiser HD 800.csv" --output-dir="my_results" --target="targets/harman_over-ear_2018_wo_bass.csv" --max-gain=24 --parametric-eq --parametric-eq-config=4_PEAKING_WITH_LOW_SHELF,4_PEAKING_WITH_HIGH_SHELF --bass-boost=6 --convolution-eq --fs=48000 --bit-depth=32 --f-res=16

When coming back at a later time you'll only need to activate virtual environment again

# On Windows
cd AutoEq
venv\Scripts\activate.bat
# On Linux and Mac
cd AutoEq
. venv/bin/activate

To learn more about virtual environments, read Python' venv documentation.

Updating

AutoEq is in active development and gets new measurements, results and features all the time. You can get the latest version from git

git pull

Dependencies may change from time to time, you can update to the latest with

python -m pip install -U -e .

Checking Installation

This prints out CLI parameters if installation was successful.

python -m autoeq --help

Example

Equalizing Sennheiser HD 650 and saving results to my_results/:

python -m autoeq --input-file="measurements/oratory1990/data/over-ear/Sennheiser HD 650.csv" --output-dir="my_results" --target="targets/harman_over-ear_2018.csv" --convolution-eq --parametric-eq --ten-band-eq --fs=44100,48000

Building

Add changelog entry before building and update version number in pyproject.toml!

Install build and twine

python -m pip install build twine

Add updates to autoeq/README.md before building!

Build PyPi package on Windows

copy /y README.md README.md.bak && copy /y autoeq\README.md README.md && python -m build && copy /y README.md.bak README.md && del README.md.bak

Build PyPi package on Linux / MacOS

cp README.md README.md.bak && cp autoeq/README.md README.md && python -m build && cp README.md.bak README.md && rm README.md.bak

publish

python -m twine upload dist/autoeq-<VERSION>*

Remember to add Git tag!

Contact

Issues are the way to go if you are experiencing problems or have ideas or feature requests. Issues are not the correct channel for headphone requests because this project sources the measurements from other databases and a headphone missing from AutoEq means it has not been measured by any of the supported sources.

You can find me in Reddit, Audio Science Review and Head-fi if you just want to say hello.

AutoEq (jaakkopasanen/AutoEq)

Searching Database…

16.4K ·GitHub
这是什么?AutoEq 会根据真实的频响测量数据,自动生成耳机均衡器设置,帮助你把耳机调整到目标声音曲线。
这是网页应用、代码库,还是别的东西?它实际上是一个项目中的三部分:无需安装的网页应用 autoeq.app、用于处理频响数据的 Python 库和 PyPI 包,以及一个耳机测量数据和目标曲线的数据集。
我到底怎么才能获得自己耳机的均衡器设置?大多数用户只需访问 autoeq.app,选择自己的耳机和目标曲线,就能获得适用于所选均衡器应用的现成设置;命令行界面(python -m autoeq)则面向想自己运行优化器的开发者。
运行命令行版本需要先安装什么?你需要安装 Git,并将 64 位 Python 3 添加到 PATH 中;在 Linux 上可能还需要 Python 开发包和 pip,在 Windows 上需要 Microsoft Visual C++ Redistributable,如果 soundfile 出现问题,有时还需要 libsndfile。
AutoEq 会替我应用均衡效果吗?不会,它只计算均衡器设置——你仍需要另外一个均衡器应用来应用这些设置,而 autoeq.app 会为你推荐兼容的应用。
为什么这个 GitHub 仓库现在主要面向开发者?普通用户会被引导至 autoeq.app 获取现成结果,而本仓库托管的是用于生成这些结果的 Python 库、PyPI 包、原始测量数据和命令行工具。
如果我的耳机型号不在数据集中怎么办?这只是说明该型号尚未被任何受支持的来源测量过;由于项目只整合现有的测量数据库,因此无法通过 GitHub Issue 来满足耳机收录请求。
我能直接使用预先计算好的结果文件夹,而不用网页应用吗?从技术上说可以,但 README 不建议这样做,因为 autoeq.app 已经提供了更简单且更新的方式来获得相同的设置。
2022 年的重大重构带来了哪些变化?项目将源代码移至 'autoeq' 目录下,发布到 PyPI,命令行用法改为 'python -m autoeq',并重写了参数化均衡器优化器,使其速度提升约 10 倍,同时支持搁架滤波器。
Size
4.2 GB
Stars
16.4K
Updated
CommitJul 20
Age
8y
Commits · 90 Days