AuburnSounds / Dplug

Make VST2 / VST3 / AU / AAX / CLAP / LV2 / FLP plug-ins for Linux/macOS/Windows, using D.
https://dplug.org/
Other
494 stars 32 forks source link

Better version of IIR filter #431

Open p0nce opened 4 years ago

p0nce commented 4 years ago

Create a new IIR filter facility in a dplug:iir module, splitted in two.

Summing Up

The role of the pole-zero realization is to filter, hold state, hold smoothing state. It has a maximum number of pole-zero (8 ? 6 ?) The role of the pole-zero computation is to compute pole and zeros when needed.

Computation feeds realization with pole and zero, and choose their relative order.

Advantages: the last filter structure you need. Downsides: conflating realization and design was a bit more friendly.

p0nce commented 4 years ago

Desired realizations: Direct Form I / transposed Direct Form II / Andy Simper's oversampled state variable filter

p0nce commented 3 years ago

First need to make a few dplug:audio "processors", like a silence detector or a delayline

p0nce commented 3 years ago

Doing this necessitates in turn to define AudioContext and audio processors in a future-proof way