Algorithm guide

Eight ANC controllers, from broadband FXLMS to synchronized harmonic cancellation.

The repository implements both feedforward broadband controllers and synchronized narrowband controllers. Each page below combines the governing equations, benchmark behavior, and a controller-specific C++ usage sketch.

FXLMS

The baseline feedforward broadband controller and the best starting point for most general ANC work.

Read the full FXLMS guide

Leaky FXLMS

FXLMS with coefficient decay to limit drift, output growth, and finite-precision stress.

Read the full Leaky FXLMS guide

FBFXLMS

Reconstructs a feedback-free reference when the canceling actuator leaks back into the reference microphone.

Read the full FBFXLMS guide

Filtered-U RLMS

An adaptive IIR controller with separate direct and recursive updates.

Read the full FU-RLMS guide

Waveform Synthesis

Stores a canceling waveform over one period and updates it in sync with a periodic source.

Read the full waveform synthesis guide

Adaptive Notch

Tracks one sinusoidal component using cosine and sine references plus secondary-path compensation.

Read the full adaptive notch guide

Multi-Tone

Runs a bank of notch-style sections in parallel for stable harmonic disturbances.

Read the full multi-tone guide

Feedback ANC

Estimates its own reference from the error microphone when no reference sensor is available.

Read the full feedback ANC guide