• Welcome to ASR. There are many reviews of audio hardware and expert members to help answer your questions. Click here to have your audio equipment measured for free!

CamillaFIR v2.5.3 - Automated Mixed Phase FIR Generator (Python/WebUI)

VilhoValittu

Member
Joined
Jan 6, 2026
Messages
19
Likes
53
Hi everyone,

I wanted to share a tool I've been developing called CamillaFIR. This started as a hobby project to solve my own DSP needs, but I decided to polish it up and share it with the community in hopes it might help others too.

It is a Python-based utility designed to automate the creation of high-precision FIR correction filters based on acoustic measurements (REW exports).

While originally designed for the CamillaDSP workflow, the tool generates standard IEEE 32-bit float .wav and .txt impulse response files. This means the filters are universally compatible with almost any convolution engine (MiniDSP, Roon, Equalizer APO, Volumio, etc.) and now even hardware DSPs like SigmaStudio/ADAU1701.

Key Features in v2.5.3:

  • Advanced Phase Strategies: Supports Linear Phase, Minimum Phase, and a sophisticated Mixed Phase reconstruction (Linear Phase bass for timing + Minimum Phase treble for natural decay).
  • Time-of-Flight (TOF) Correction: The DSP engine automatically detects and removes acoustic delay (distance-based phase slope) before calculating excess phase. This ensures the correction targets actual group delay distortions, not just distance.
  • Frequency-Dependent Regularization: Prevents over-correction. It allows aggressive modal correction in the bass (<200Hz) while applying heavy regularization in the treble to prevent "phasiness" and preserve the natural sound signature.
  • Hardware DSP Support (SigmaStudio): Version 2.5.x adds support for low tap counts (512/1024) and .txt coefficient export, making it possible to import filters directly into Analog Devices SigmaStudio (ADAU1701, etc.).
  • Automated Workflow: Just upload your L/R measurements, select your target curve (Harman, Toole, etc.), and the tool generates filters for all common sample rates (44.1k - 192k).
Inspiration:This project is heavily inspired by the work of OCA (Obsessive Compulsive Audiophile): https://www.youtube.com/@ocaudiophile

Downloads & Links:

Installation (Source):Requires Python 3.10+. Clone the repo, install requirements (pip install numpy scipy pywebio matplotlib requests), and run python CamillaFIR.py.

Feedback is welcome!

(Disclaimer: This text was structured and generated by AI. As English is not my native language, I find technical writing challenging. However, the code and the acoustic logic are my own work/implementation.)
 
Back
Top Bottom